-- [[ 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 ]] -- Don't Break the Obby | Rayfield (light) -- Button 1 = InfiniteLength | Button 2 = God Mode local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Don't Break the Obby", LoadingTitle = "DBO", LoadingSubtitle = "light", ConfigurationSaving = {Enabled = false}, KeySystem = false }) local Tab = Window:CreateTab("Main", 4483362458) local LP = game:GetService("Players").LocalPlayer local RS = game:GetService("RunService") local infiniteOn = false local godOn = false local conn local cached = {} -- objects we actually found local lastKill = 0 -- one-time scan (only runs when needed) local function refreshCache() table.clear(cached) local names = { InfiniteLength = true, MaxLength = true, Length = true, StretchLimit = true, Immortal = true, GodMode = true, God = true, Invincible = true } local roots = {LP, workspace, game.ReplicatedStorage} if LP.Character then table.insert(roots, LP.Character) end if LP:FindFirstChild("PlayerScripts") then table.insert(roots, LP.PlayerScripts) end for _, root in ipairs(roots) do for _, v in ipairs(root:GetDescendants()) do if names[v.Name] then table.insert(cached, v) end end end end local function apply(val) for _, obj in ipairs(cached) do pcall(function() if obj:IsA("BoolValue") then obj.Value = val elseif obj:IsA("NumberValue") or obj:IsA("IntValue") then obj.Value = val and 99999 or 0 end end) end end local function keepAlive() local char = LP.Character if not char then return end local hum = char:FindFirstChildOfClass("Humanoid") if hum and hum.Health < hum.MaxHealth then hum.Health = hum.MaxHealth end end local function killPartsOnce() for _, v in ipairs(workspace:GetDescendants()) do if v:IsA("BasePart") then local n = v.Name:lower() if n:find("kill") or n:find("saw") or n:find("spike") or n:find("laser") or n:find("blade") then pcall(function() v.CanTouch = false end) end end end end local function startLoop() if conn then return end refreshCache() conn = RS.Heartbeat:Connect(function() if infiniteOn or godOn then apply(true) end if godOn then keepAlive() if tick() - lastKill > 3 then -- only every 3 seconds lastKill = tick() killPartsOnce() end end end) end local function stopLoop() if not infiniteOn and not godOn and conn then conn:Disconnect() conn = nil end end -- BUTTON 1 Tab:CreateButton({ Name = "InfiniteLength", Callback = function() infiniteOn = not infiniteOn if infiniteOn then startLoop() Rayfield:Notify({Title = "DBO", Content = "InfiniteLength ON", Duration = 2}) else stopLoop() Rayfield:Notify({Title = "DBO", Content = "InfiniteLength OFF", Duration = 2}) end end }) -- BUTTON 2 Tab:CreateButton({ Name = "God Mode", Callback = function() godOn = not godOn if godOn then startLoop() killPartsOnce() Rayfield:Notify({Title = "DBO", Content = "God Mode ON", Duration = 2}) else stopLoop() Rayfield:Notify({Title = "DBO", Content = "God Mode OFF", Duration = 2}) end end }) Rayfield:Notify({Title = "DBO", Content = "Ready (light version)", Duration = 3})