
Key Required

-- AD spam 4x
local function autoADSpam()
while true do
task.wait(0.5)
for i = 1, 4 do
game:GetService("VirtualInputManager"):SendKeyEvent(true, "A", false, game)
task.wait(0.02)
game:GetService("VirtualInputManager"):SendKeyEvent(false, "A", false, game)
task.wait(0.02)
end
task.wait(0.1)
for i = 1, 4 do
game:GetService("VirtualInputManager"):SendKeyEvent(true, "D", false, game)
task.wait(0.02)
game:GetService("VirtualInputManager"):SendKeyEvent(false, "D", false, game)
task.wait(0.02)
end
end
end
task.spawn(autoADSpam)
-- Auto TP Hoops
local function autoTeleportHoops()
while true do
task.wait(5)
local Player = game.Players.LocalPlayer
local character = Player.Character
if not character then continue end
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if not humanoidRootPart then continue end
local hoopsFolder = workspace:FindFirstChild("Hoops")
if not hoopsFolder then continue end
local objects = hoopsFolder:GetChildren()
if #objects == 0 then continue end
local radius = 15
for i, obj in ipairs(objects) do
if obj:IsA("BasePart") then
local angle = (i / #objects) * math.pi * 2
local x = math.cos(angle) * radius
local z = math.sin(angle) * radius
obj.CFrame = humanoidRootPart.CFrame * CFrame.new(x, 0, z)
end
end
end
end
task.spawn(autoTeleportHoops)
-- Main farm
local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.new(0, 120, 0, 50)
Frame.Position = UDim2.new(0.8, 0, 0.1, 0)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.Active = true
Frame.Draggable = true
local Button = Instance.new("TextButton", Frame)
Button.Size = UDim2.new(1, -10, 1, -10)
Button.Position = UDim2.new(0, 5, 0, 5)
Button.Text = "STOP"
Button.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
local farming = true
local r = game.ReplicatedStorage.rEvents.orbEvent
local orbs = {"Blue Orb", "Gem", "Red Orb", "Yellow Orb", "Orange Orb"}
coroutine.wrap(function()
while farming do
for _, orb in ipairs(orbs) do
if not farming then break end
r:FireServer("collectOrb", orb, "City")
end
task.wait()
end
end)()
coroutine.wrap(function()
while true do
task.wait(30)
local args = {"rebirthRequest"}
game.ReplicatedStorage.rEvents.rebirthEvent:FireServer(unpack(args))
end
end)()
Button.MouseButton1Click:Connect(function()
farming = not farming
if farming then
Button.Text = "STOP"
Button.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
coroutine.wrap(function()
while farming do
for _, orb in ipairs(orbs) do
if not farming then break end
r:FireServer("collectOrb", orb, "City")
end
task.wait()
end
end)()
else
Button.Text = "START"
Button.BackgroundColor3 = Color3.fromRGB(50, 150, 50)
end
end)



make this for muscle legends plss