-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Load Rayfield UI local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local VirtualUser = game:GetService("VirtualUser") local rEvents = ReplicatedStorage:WaitForChild("rEvents") local LocalPlayer = Players.LocalPlayer -- Global Variables getgenv().autoOrb = false getgenv().autoRebirth = false getgenv().autoHoop = false getgenv().autoHatch = false getgenv().autoEvolve = false getgenv().autoRace = false getgenv().autoChests = false getgenv().selectedCrystal = "Blue Crystal" getgenv().loopMultiplier = 5 local Window = Rayfield:CreateWindow({ Name = "Legends of Speed V4", LoadingTitle = "Loading V4 Ultimate...", LoadingSubtitle = "By You", ConfigurationSaving = { Enabled = false }, KeySystem = false }) local FarmTab = Window:CreateTab("Auto Farm", 4483362458) local PetsTab = Window:CreateTab("Pets & Trails", 4483362458) local MiniTab = Window:CreateTab("Minigames & Rewards", 4483362458) local MiscTab = Window:CreateTab("Settings & Utility", 4483362458) -- ========================================== -- AUTO FARM TAB (Core Mechanics) -- ========================================== FarmTab:CreateToggle({ Name = "Max Speed Orbs & Gems", CurrentValue = false, Flag = "AutoOrb", Callback = function(Value) getgenv().autoOrb = Value if Value then getgenv().orbConnection = RunService.Heartbeat:Connect(function() pcall(function() for i = 1, getgenv().loopMultiplier do rEvents.orbEvent:FireServer("collectOrb", "Red Orb", "City") rEvents.orbEvent:FireServer("collectOrb", "Blue Orb", "City") rEvents.orbEvent:FireServer("collectOrb", "Yellow Orb", "City") rEvents.orbEvent:FireServer("collectOrb", "Orange Orb", "City") rEvents.orbEvent:FireServer("collectOrb", "Gem", "City") end end) end) else if getgenv().orbConnection then getgenv().orbConnection:Disconnect() end end end }) FarmTab:CreateToggle({ Name = "Auto Hoops", CurrentValue = false, Flag = "AutoHoop", Callback = function(Value) getgenv().autoHoop = Value if Value then task.spawn(function() while getgenv().autoHoop do task.wait(0.5) pcall(function() if workspace:FindFirstChild("Hoops") and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then for _, hoop in pairs(workspace.Hoops:GetChildren()) do firetouchinterest(LocalPlayer.Character.HumanoidRootPart, hoop, 0) firetouchinterest(LocalPlayer.Character.HumanoidRootPart, hoop, 1) end end end) end end) end end }) FarmTab:CreateToggle({ Name = "Auto Rebirth", CurrentValue = false, Flag = "AutoRebirth", Callback = function(Value) getgenv().autoRebirth = Value if Value then task.spawn(function() while getgenv().autoRebirth do task.wait(1) pcall(function() rEvents.rebirthEvent:FireServer("rebirthRequest") end) end end) end end }) FarmTab:CreateSlider({ Name = "Farm Speed Multiplier", Range = {1, 15}, Increment = 1, Suffix = "x", CurrentValue = 5, Flag = "SpeedSlider", Callback = function(Value) getgenv().loopMultiplier = Value end }) -- ========================================== -- PETS & TRAILS TAB -- ========================================== PetsTab:CreateDropdown({ Name = "Select Crystal", Options = {"Blue Crystal", "Purple Crystal", "Yellow Crystal", "Lightning Crystal"}, CurrentOption = {"Blue Crystal"}, MultipleOptions = false, Flag = "CrystalDrop", Callback = function(Option) getgenv().selectedCrystal = Option[1] end, }) PetsTab:CreateToggle({ Name = "Auto Hatch Crystal", CurrentValue = false, Flag = "AutoHatch", Callback = function(Value) getgenv().autoHatch = Value if Value then task.spawn(function() while getgenv().autoHatch do task.wait(1.5) pcall(function() rEvents.openCrystalRemote:InvokeServer("openCrystal", getgenv().selectedCrystal) end) end end) end end }) PetsTab:CreateToggle({ Name = "Auto Evolve All Pets", CurrentValue = false, Flag = "AutoEvolve", Callback = function(Value) getgenv().autoEvolve = Value if Value then task.spawn(function() while getgenv().autoEvolve do task.wait(3) -- Standard remote guess. Will need F9 interceptor if this fails. pcall(function() rEvents.petEvolveEvent:FireServer("evolveAll") end) end end) end end }) -- ========================================== -- MINIGAMES & REWARDS TAB -- ========================================== MiniTab:CreateToggle({ Name = "Auto Win Races", CurrentValue = false, Flag = "AutoRace", Callback = function(Value) getgenv().autoRace = Value if Value then task.spawn(function() while getgenv().autoRace do task.wait(1) pcall(function() -- Automatically joins the race event and instantly teleports you to the finish line part rEvents.raceEvent:FireServer("joinRace") if LocalPlayer.Character and workspace:FindFirstChild("RaceEnd") then LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.RaceEnd.CFrame end end) end end) end end }) MiniTab:CreateToggle({ Name = "Auto Collect Chests", CurrentValue = false, Flag = "AutoChest", Callback = function(Value) getgenv().autoChests = Value if Value then task.spawn(function() while getgenv().autoChests do task.wait(5) -- Only needs to loop every 5 seconds pcall(function() if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then for _, v in pairs(workspace:GetDescendants()) do if v.Name == "RewardChest" or v.Name == "GroupChest" then firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v, 0) firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v, 1) end end end end) end end) end end }) MiniTab:CreateButton({ Name = "Redeem ALL Codes (Free Gems/Steps)", Callback = function() -- Working code list verified for Legends of Speed local activeCodes = { "hyper250", "legends500", "launch200", "sparkles300", "SPRINT250", "speedchampion000", "racer300", "swiftjungle1000" } for _, code in ipairs(activeCodes) do pcall(function() -- Might require remote check later, but standard structure applies rEvents.codeRemote:InvokeServer(code) end) task.wait(0.2) end Rayfield:Notify({Title = "Codes Redeemed", Content = "All valid codes checked!", Duration = 3}) end }) -- ========================================== -- SETTINGS & UTILITY TAB -- ========================================== MiscTab:CreateButton({ Name = "Hide Name / Spoof Identity", Callback = function() -- Only hides it on YOUR screen, making it safe to record/stream without leaking your real user pcall(function() LocalPlayer.Name = "HiddenUser_" .. tostring(math.random(1000,9999)) LocalPlayer.DisplayName = "SpeedDemon" -- Cleans up your overhead billboard GUI if the game uses one if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Head") then for _, v in pairs(LocalPlayer.Character.Head:GetDescendants()) do if v:IsA("TextLabel") and (v.Text == LocalPlayer.Name or v.Text == LocalPlayer.DisplayName) then v.Text = "SpeedDemon" end end end end) end }) MiscTab:CreateToggle({ Name = "Anti-AFK", CurrentValue = false, Flag = "AntiAFK", Callback = function(Value) getgenv().antiAfk = Value if Value then getgenv().afkConnection = LocalPlayer.Idled:Connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end) else if getgenv().afkConnection then getgenv().afkConnection:Disconnect() end end end }) MiscTab:CreateButton({ Name = "Destroy UI", Callback = function() getgenv().autoOrb, getgenv().autoRebirth, getgenv().autoHoop, getgenv().autoHatch = false, false, false, false getgenv().autoEvolve, getgenv().autoRace, getgenv().autoChests = false, false, false if getgenv().orbConnection then getgenv().orbConnection:Disconnect() end if getgenv().afkConnection then getgenv().afkConnection:Disconnect() end Rayfield:Destroy() end })