Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local realfenv
- realfenv = hookfunction(getgenv().getfenv,function(a)
- local num = tonumber(a)
- if num then
- if num > 10 or num < 1 then
- error("rip")
- else
- return realfenv()
- end
- else
- return realfenv()
- end
- end)
- local maxSim = 1000
- getgenv().setsimulationradius = newcclosure(function(i,v)
- local plr = game.Players.LocalPlayer
- sethiddenproperty(plr,"MaxSimulationRadius",maxSim)
- sethiddenproperty(plr,"SimulationRadius",maxSim)
- end)
- local sethidden
- sethidden = hookfunction(getgenv().sethiddenproperty,function(i,p,v)
- local plr = game.Players.LocalPlayer
- if i == plr then
- if (p == "MaxSimulationRadius" or p == "SimulationRadius") then
- if v == maxSim then
- sethidden(i,p,v)
- end
- else
- sethidden(i,p,v)
- end
- else
- sethidden(i,p,v)
- end
- end)
- local function nocloloop()
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if child:IsA("BasePart") and child.CanCollide == true then
- child.CanCollide = false
- end
- end
- end
- end
- Noclipping = game:GetService('RunService').Stepped:connect(nocloloop)
- spawn(function()
- while true do
- settings().Physics.AllowSleep = false
- game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- setsimulationradius(math.pow(math.huge,math.huge)*math.huge)
- game:GetService("RunService").Stepped:wait()
- end
- end)
- loadstring(game:GetObjects("rbxassetid://7443404744")[1].Source)()
Add Comment
Please, Sign In to add comment