-- Load Rayfield UI Library local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "step careless Hub", LoadingTitle = "lol", LoadingSubtitle = "buh??", ConfigurationSaving = { Enabled = false, FolderName = "StepCarefully" }, Discord = { Enabled = false, Invite = "", RememberJoins = true }, KeySystem = false }) -- Services & Variables local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local VirtualUser = game:GetService("VirtualUser") local player = Players.LocalPlayer local mapFolder = workspace:WaitForChild("Map") -- SPEED VARS local delayAfterWalking = 0.2 -- State Toggles & Target Vars local farmEnabled = false local targetFarmEnabled = false local targetRebirths = 0 local pizzaEnabled = false local antiAfkConnection = nil -- ========================================== -- CORE UTILITY FUNCTIONS -- ========================================== local function getHighestStage() local maxStage = 0 for _, folder in ipairs(mapFolder:GetChildren()) do local stageNum = tonumber(folder.Name) if stageNum and stageNum > maxStage then maxStage = stageNum end end return maxStage end local function getCurrentLevel() local playerGui = player:WaitForChild("PlayerGui") local playerHUD = playerGui:WaitForChild("PlayerHUD") local navContainer = playerHUD:WaitForChild("NavContainer") local levelIndicator = navContainer:WaitForChild("LevelIndicator") local levelNumber = tonumber(string.match(levelIndicator.Text, "%d+")) return levelNumber or 1 end local function executeTeleportAndWalkSequence(startStage, endStage, isManual) local character = player.Character or player.CharacterAdded:Wait() local rootPart = character:WaitForChild("HumanoidRootPart") local humanoid = character:WaitForChild("Humanoid") local currentTarget = math.max(2, startStage) while currentTarget <= endStage do -- Added the 'isManual' check here so the button doesn't instantly break the loop if (not isManual and not farmEnabled and not targetFarmEnabled) or not character or character.Parent == nil or humanoid.Health <= 0 then break end local targetFolder = mapFolder:FindFirstChild(tostring(currentTarget)) if targetFolder then local spawnLocation = targetFolder:FindFirstChild("SpawnLocation") if spawnLocation then rootPart.CFrame = spawnLocation.CFrame + Vector3.new(5, 8, 0) humanoid:MoveTo(spawnLocation.Position) humanoid.MoveToFinished:Wait() task.wait(delayAfterWalking) local actualLevel = getCurrentLevel() if actualLevel < currentTarget then task.wait(0.5) actualLevel = getCurrentLevel() if actualLevel < currentTarget then currentTarget = actualLevel + 1 continue end end end end currentTarget = currentTarget + 1 end end local function waitForStage1Respawn() local stage1Folder = mapFolder:WaitForChild("1") local spawnLocation1 = stage1Folder:WaitForChild("SpawnLocation") local targetPos = spawnLocation1.Position + Vector3.new(0, 3, 0) while farmEnabled or targetFarmEnabled do local character = player.Character if character then local rootPart = character:FindFirstChild("HumanoidRootPart") if rootPart then if (rootPart.Position - targetPos).Magnitude <= 5 then break end end end task.wait(0.1) end task.wait(0.5) end -- ========================================== -- UI TABS & COMPONENTS -- ========================================== -- 1. Auto Farm Tab local FarmTab = Window:CreateTab("Auto Farm", 4483362458) FarmTab:CreateToggle({ Name = "Enable Farm", CurrentValue = false, Flag = "RebirthFarmToggle", Callback = function(Value) farmEnabled = Value if farmEnabled then task.spawn(function() while farmEnabled do local highestStage = getHighestStage() local currentLevel = getCurrentLevel() if currentLevel >= highestStage then ReplicatedStorage:WaitForChild("RebirthRemote"):FireServer() task.wait(1) waitForStage1Respawn() else executeTeleportAndWalkSequence(currentLevel + 1, highestStage) end task.wait(0.1) end end) end end, }) FarmTab:CreateInput({ Name = "Set Target Rebirths", PlaceholderText = "Enter Amount", RemoveTextAfterFocusLost = false, Callback = function(Text) targetRebirths = tonumber(Text) or 0 end, }) FarmTab:CreateButton({ Name = "Start", Callback = function() if targetFarmEnabled then targetFarmEnabled = false return end if targetRebirths <= 0 or targetRebirths <= player.leaderstats.Rebirths.Value then Rayfield:Notify({Title = "Err", Content = "Target Rebirth Must Be Higher Than Current Rebirths.", Duration = 3}) return end targetFarmEnabled = true task.spawn(function() while targetFarmEnabled do local leaderstats = player:FindFirstChild("leaderstats") local rebirthsFolder = leaderstats and (leaderstats:FindFirstChild("Rebirths") or leaderstats:FindFirstChild("Rebirth")) local currentRebirths = rebirthsFolder and rebirthsFolder.Value or 0 local highestStage = getHighestStage() local currentLevel = getCurrentLevel() if currentRebirths >= targetRebirths and currentLevel >= highestStage then targetFarmEnabled = false break end if currentLevel >= highestStage then ReplicatedStorage:WaitForChild("RebirthRemote"):FireServer() task.wait(1) waitForStage1Respawn() else executeTeleportAndWalkSequence(currentLevel + 1, highestStage) end task.wait(0.1) end end) end, }) FarmTab:CreateButton({ Name = "+1 Rebirth", Callback = function() if targetFarmEnabled or farmEnabled then Rayfield:Notify({Title = "Err", Content = "Auto Farm Running, Disable it.", Duration = 3}) return end local leaderstats = player:FindFirstChild("leaderstats") local rebirthsFolder = leaderstats and (leaderstats:FindFirstChild("Rebirths") or leaderstats:FindFirstChild("Rebirth")) local currentRebirths = rebirthsFolder and rebirthsFolder.Value or 0 targetRebirths = currentRebirths + 1 targetFarmEnabled = true task.spawn(function() while targetFarmEnabled do local currentStats = player:FindFirstChild("leaderstats") local currentRb = currentStats and (currentStats:FindFirstChild("Rebirths") or currentStats:FindFirstChild("Rebirth")) local updatedRebirths = currentRb and currentRb.Value or 0 local highestStage = getHighestStage() local currentLevel = getCurrentLevel() if updatedRebirths >= targetRebirths and currentLevel >= highestStage then targetFarmEnabled = false break end if currentLevel >= highestStage then ReplicatedStorage:WaitForChild("RebirthRemote"):FireServer() task.wait(1) waitForStage1Respawn() else executeTeleportAndWalkSequence(currentLevel + 1, highestStage) end task.wait(0.1) end end) end, }) FarmTab:CreateButton({ Name = "Auto Max Stage", Callback = function() if targetFarmEnabled or farmEnabled then Rayfield:Notify({Title = "Err", Content = "Auto Farm Running, Disable it.", Duration = 3}) return end task.spawn(function() local highestStage = getHighestStage() local currentLevel = getCurrentLevel() if currentLevel >= highestStage then return end executeTeleportAndWalkSequence(currentLevel + 1, highestStage) end) end, }) -- 2. Rewards Tab local RewardsTab = Window:CreateTab("May Not Work", 4483362458) RewardsTab:CreateButton({ Name = "Claim Rewards", Callback = function() ReplicatedStorage.ClaimRewardRemote:InvokeServer("Invite") ReplicatedStorage.ClaimRewardRemote:InvokeServer("Group") end, }) RewardsTab:CreateButton({ Name = "Trigger Favorite Reward", Callback = function() ReplicatedStorage.FavoriteEvent:FireServer() end, }) -- 3. Troll/Misc Tab local MiscTab = Window:CreateTab("Misc", 4483362458) -- FIXED ANTI-AFK (Simulates a real drag action so engine is fooled) MiscTab:CreateToggle({ Name = "anti-afk", CurrentValue = false, Flag = "AntiAFKToggle", Callback = function(Value) if Value then if not antiAfkConnection then antiAfkConnection = player.Idled:Connect(function() VirtualUser:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame) task.wait(0.5) VirtualUser:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame) end) end else if antiAfkConnection then antiAfkConnection:Disconnect() antiAfkConnection = nil end end end, }) MiscTab:CreateToggle({ Name = "Show Game Name UI", CurrentValue = false, Flag = "GameNameUIToggle", Callback = function(Value) local playerGui = player:FindFirstChild("PlayerGui") if playerGui then local gameNameGui = playerGui:FindFirstChild("GameName") if gameNameGui then gameNameGui.Enabled = Value end end end, }) MiscTab:CreateToggle({ Name = "Loop Pizza Sound", CurrentValue = false, Flag = "PizzaSpamToggle", Callback = function(Value) pizzaEnabled = Value if pizzaEnabled then task.spawn(function() while pizzaEnabled do ReplicatedStorage.Events.Pizza:FireServer(true) task.wait(0.6) end end) end end, })