Skip to content

cta2511/fnb-autoplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

local debug = true

if not game:IsLoaded() then game.Loaded:Wait() end

local Players = game:GetService("Players") local RunService = game:GetService("RunService") 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").LocalPlayer local 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() for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerScripts:GetDescendants()) do if v:IsA("LocalScript") and v.Name == "xploitStuff" then v:Destroy() end end

if not Library.flags.AutoPlayer then return end
if not Menu or not Menu.Parent then return end
local InputManager = game:GetService("VirtualInputManager")
if Menu.Config.TimePast.Value <= 0 then return end

local SideMenu = Menu.Game:FindFirstChild(Menu.PlayerSide.Value)
local IncomingArrows = SideMenu.Arrows.IncomingNotes

local Keys = KeysTable[tostring(#IncomingArrows:GetChildren())] or IncomingArrows:GetChildren()

for Key, Direction in pairs(Keys) do
    Direction = tostring(Direction)

    local ArrowsHolder = IncomingArrows:FindFirstChild(Direction) or IncomingArrows:FindFirstChild(Key)
    if not ArrowsHolder then continue end

    for _, Object in ipairs(ArrowsHolder:GetChildren()) do
        if table.find(Marked, Object) then continue end
        local Keybind = Keybinds:FindFirstChild(Direction) and Keybinds[Direction].Value

        local Start = SideMenu.Arrows:FindFirstChild(Direction) and SideMenu.Arrows[Direction].AbsolutePosition.Y or SideMenu.Arrows[Key].AbsolutePosition.Y
        local Current = Object.AbsolutePosition.Y
        local Difference = not InputFolder.Downscroll.Value and (Current - Start) or (Start - Current)

        local IsHell = Object:FindFirstChild("HellNote") and Object:FindFirstChild("HellNote").Value
        
        if Difference <= 0.35 and not IsHell then
            Marked[#Marked + 1] = Object
            
            InputManager: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 <= 0
            InputManager:SendKeyEvent(false, Enum.KeyCode[Keybind], false, nil)
        end
    end
end

end)

PlayerGui.ChildAdded:Connect(function(Object) if Object:IsA("ScreenGui") and Object:FindFirstChild("Game") then table.clear(Marked) getgenv().Menu = Object end end)

for _, ScreenGui in ipairs(PlayerGui:GetChildren()) do if not ScreenGui:FindFirstChild("Game") then continue end getgenv().Menu = ScreenGui end

do local Window = Library:CreateWindow("Friday Night Bloxxin'") do local Folder = Window:AddFolder("Autoplayer") do local Toggle = Folder:AddToggle({text = "AutoPlayer", flag = "AutoPlayer" }) end Folder:AddLabel({text = "Credits:"}) Folder:AddLabel({text = "Fixed by KiwisASkid"}) Folder:AddLabel({text = "Made by Malware10"}) Window:AddBind({text = "Gui Toggle", key = Enum.KeyCode.Delete, callback = function() Library:Close() end }) if debug == true then Window:AddButton({text = "Rejoin", callback = function() pcall(function() game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer) end) end}) end Window:AddButton({text = "Redeem Codes", callback = function() pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/o5u3/Friday-Night-Bloxxin-Autoplayer/main/RedeemCodes.lua"))() end) end}) Window:AddButton({text = "DestroyGui", callback = function() pcall(function() game:GetService("CoreGui").ScreenGui:Destroy() end) end}) Window:AddButton({text = "Instant Solo", callback = function() pcall(function() PlayerGui.SingleplayerUI.ButtonPressed:FireServer() end) end}) end Library:Init() end

local Old; Old = hookmetamethod(game, "__newindex", newcclosure(function(self, ...) local Args = {...} local Property = Args[1]

if not Client.Character then return end
local Humanoid = Client.Character:FindFirstChild("Humanoid")
if not Humanoid then return end

if self == Humanoid and Property == "Health" and not checkcaller() then return end

return Old(self, ...)

end))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published