Playground basketball
Key Required

Playground basketball

[REC] Playground Basketball🏀LebronjameskdhhfLebronjameskdhhf 5.1K views 45 executesUpdated Feb 6, 2026
0.0/ 5(1 votes)
010% Positive
Lua Script•122 lines (3068 chars)
-- SERVICES
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer

-- REMOTES
local Action = ReplicatedStorage
    :WaitForChild("Remotes")
    :WaitForChild("Server")
    :WaitForChild("Action")

-- LOAD RAYFIELD
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()

-- STATE
local AutoGreen = false
local GreenRelease = 0.25
local AutoDunk = false
local DunkRelease = 0.25

-- WINDOW
local Window = Rayfield:CreateWindow({
    Name = "Nexual | Playground Assist",
    LoadingTitle = "Nexual",
    LoadingSubtitle = "Auto Green + Auto Dunk",
    ConfigurationSaving = {Enabled = true, FolderName = "Nexual", FileName = "AssistConfigs"}
})

local Tab = Window:CreateTab("Main", 4483362458)

-- AUTO GREEN
Tab:CreateToggle({
    Name = "Auto Green",
    CurrentValue = false,
    Callback = function(Value)
        AutoGreen = Value
    end
})

Tab:CreateSlider({
    Name = "Green Release Timing (s)",
    Range = {0.1, 1},
    Increment = 0.01,
    Suffix = "s",
    CurrentValue = 0.25,
    Callback = function(Value)
        GreenRelease = Value
    end
})

-- AUTO DUNK
Tab:CreateToggle({
    Name = "Auto Dunk",
    CurrentValue = false,
    Callback = function(Value)
        AutoDunk = Value
    end
})

Tab:CreateSlider({
    Name = "Dunk Release Timing (s)",
    Range = {0.1, 1},
    Increment = 0.01,
    Suffix = "s",
    CurrentValue = 0.25,
    Callback = function(Value)
        DunkRelease = Value
    end
})

-- HOOK REMOTES (for mobile)
local mt = getrawmetatable(game)
local old = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(self, ...)
    local args = {...}
    local method = getnamecallmethod()

    if self == Action and method == "FireServer" and args[1] and type(args[1]) == "table" then
        local tbl = args[1]

        -- AUTO GREEN
        if tbl.Type == "Shoot" and tbl.Shoot == true and AutoGreen then
            task.delay(GreenRelease, function()
                Action:FireServer({Shoot = false, Type = "Shoot"})
            end)
        end

        -- AUTO DUNK (mobile)
        if tbl.Action == "Jump" and tbl.Jump == true and AutoDunk then
            task.delay(DunkRelease, function()
                Action:FireServer({Action = "Jump", Jump = false})
            end)
        end
    end

    return old(self, ...)
end)
setreadonly(mt, true)

-- AUTO DUNK (PC spacebar)
UserInputService.InputBegan:Connect(function(input, gpe)
    if gpe then return end
    if not AutoDunk then return end

    if input.KeyCode == Enum.KeyCode.Space then
        task.delay(DunkRelease, function()
            if AutoDunk then
                Action:FireServer({Action = "Jump", Jump = false})
            end
        end)
    end
end)

Rayfield:Notify({
    Title="Nexual Loaded",
    Content="Auto Green + Auto Dunk ready (PC + Mobile)",
    Duration=5
})

print("[NEXUAL] Auto Green + Auto Dunk hooked to actual remotes (PC + Mobile)")

Features & Information

Auto green and dunk

Community Comments (0)

No comments yet for this script.

More Scripts for [REC] Playground Basketball🏀