Auto Player
Script:
if not game:IsLoaded() then game.Loaded:Wait() endlocal Players = game:GetService("Players")local RunService = game:GetService("RunService")local InputManager = game:GetService("VirtualInputManager")local InputService = game:GetService("UserInputService")local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/wally-rblx/uwuware-ui/main/main.lua"))()local Client = game:GetService("Players").LocalPlayerlocal PlayerGui = Client:WaitForChild("PlayerGui")local InputFolder = Client:WaitForChild("Input")local Keybinds = InputFolder:WaitForChild("Keybinds")local Marked = {}local KeysTable = {["4"] = {"Up", "Down", "Left", "Right"},["6"] = {S = "L3", D = "L2", F = "L1", J = "R1", K = "R2", L = "R3"},["7"] = {S = "L3", D = "L2", F = "L1", Space = "Space", J = "R1", K = "R2", L = "R3"},["9"] = {A = "L4", S = "L3", D = "L2", F = "L1", Space = "Space", H = "R1", J = "R2", K = "R3", L = "R4"}}RunService.Heartbeat:Connect(function()if not Library.flags.AutoPlayer then return endif not Menu or not Menu.Parent then return endif Menu.Config.TimePast.Value <= 0 then return endlocal SideMenu = Menu.Game:FindFirstChild(Menu.PlayerSide.Value)local IncomingArrows = SideMenu.Arrows.IncomingArrowslocal Keys = KeysTable[tostring(#IncomingArrows:GetChildren())] or IncomingArrows:GetChildren()for Key, Direction in pairs(Keys) doDirection = tostring(Direction)local ArrowsHolder = IncomingArrows:FindFirstChild(Direction) or IncomingArrows:FindFirstChild(Key)if not ArrowsHolder then continue endfor _, Object in ipairs(ArrowsHolder:GetChildren()) doif table.find(Marked, Object) then continue endlocal Keybind = Keybinds:FindFirstChild(Direction) and Keybinds[Direction].Valuelocal Start = SideMenu.Arrows:FindFirstChild(Direction) and SideMenu.Arrows[Direction].AbsolutePosition.Y or SideMenu.Arrows[Key].AbsolutePosition.Ylocal Current = Object.AbsolutePosition.Ylocal Difference = not InputFolder.Downscroll.Value and (Current - Start) or (Start - Current)local IsHell = Object:FindFirstChild("HellNote") and Object:FindFirstChild("HellNote").Valueif Difference <= 0.35 and not IsHell thenMarked[#Marked + 1] = ObjectInputManager:SendKeyEvent(true, Enum.KeyCode[Keybind], false, nil)repeat task.wait() until not Object or not Object:FindFirstChild("Frame") or Object.Frame.Bar.Size.Y.Scale <= 0InputManager:SendKeyEvent(false, Enum.KeyCode[Keybind], false, nil)endendendend)PlayerGui.ChildAdded:Connect(function(Object)if Object:IsA("ScreenGui") and Object:FindFirstChild("Game") thentable.clear(Marked)getgenv().Menu = Objectendend)for _, ScreenGui in ipairs(PlayerGui:GetChildren()) doif not ScreenGui:FindFirstChild("Game") then continue endgetgenv().Menu = ScreenGuienddolocal Window = Library:CreateWindow("Friday Night Bloxxin'") dolocal Folder = Window:AddFolder("Autoplayer") dolocal Toggle = Folder:AddToggle({text = "AutoPlayer", flag = "AutoPlayer" })endFolder:AddLabel({text = "Bug fixes!"})Folder:AddLabel({text = "Multi-key support!"})Window:AddBind({text = "Menu toggle", key = Enum.KeyCode.Delete, callback = function() Library:Close() end })Window:AddButton({text = "Instant Solo", callback = function()pcall(function()PlayerGui.SingleplayerUI.ButtonPressed:FireServer()end)end})endLibrary:Init()endlocal Old; Old = hookmetamethod(game, "__newindex", newcclosure(function(self, ...)local Args = {...}local Property = Args[1]if not Client.Character then return endlocal Humanoid = Client.Character:FindFirstChild("Humanoid")if not Humanoid then return endif self == Humanoid and Property == "Health" and not checkcaller() then return endreturn Old(self, ...)end))warn("Loaded script!")
Post a Comment (0)