Lollddsf

Untitled

Aug 21st, 2021 (edited)
79,696
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. local realfenv
  2. realfenv = hookfunction(getgenv().getfenv,function(a)
  3. local num = tonumber(a)
  4. if num then
  5. if num > 10 or num < 1 then
  6. error("rip")
  7. else
  8. return realfenv()
  9. end
  10. else
  11. return realfenv()
  12. end
  13. end)
  14.  
  15. local maxSim = 1000
  16. getgenv().setsimulationradius = newcclosure(function(i,v)
  17. local plr = game.Players.LocalPlayer
  18. sethiddenproperty(plr,"MaxSimulationRadius",maxSim)
  19. sethiddenproperty(plr,"SimulationRadius",maxSim)
  20. end)
  21.  
  22. local sethidden
  23. sethidden = hookfunction(getgenv().sethiddenproperty,function(i,p,v)
  24. local plr = game.Players.LocalPlayer
  25. if i == plr then
  26. if (p == "MaxSimulationRadius" or p == "SimulationRadius") then
  27. if v == maxSim then
  28. sethidden(i,p,v)
  29. end
  30. else
  31. sethidden(i,p,v)
  32. end
  33. else
  34. sethidden(i,p,v)
  35. end
  36. end)
  37.  
  38. local function nocloloop()
  39. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  40. for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  41. if child:IsA("BasePart") and child.CanCollide == true then
  42. child.CanCollide = false
  43. end
  44. end
  45. end
  46. end
  47. Noclipping = game:GetService('RunService').Stepped:connect(nocloloop)
  48.  
  49. spawn(function()
  50. while true do
  51. settings().Physics.AllowSleep = false
  52. game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
  53. setsimulationradius(math.pow(math.huge,math.huge)*math.huge)
  54. game:GetService("RunService").Stepped:wait()
  55. end
  56. end)
  57.  
  58. loadstring(game:GetObjects("rbxassetid://7443404744")[1].Source)()
Add Comment
Please, Sign In to add comment