AALTTz

x to noclip

Jan 28th, 2023
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. local nckey = "x";
  2. local nclip = false;
  3. local lp = game.Players.LocalPlayer
  4. local ms = lp:GetMouse()
  5. local rm = getrawmetatable(game)
  6. local index = rm.__index
  7. local bv = Instance.new("BoolValue");
  8. bv.Value = false;
  9. setreadonly(rm,false)
  10.  
  11. rm.__index = function(self,j)
  12. if tostring(self) == "Part" and tostring(j) == "Anchored" then
  13. return index(bv,"Value")
  14. end
  15. return index(self,j)
  16. end
  17.  
  18.  
  19. game:GetService("RunService").Stepped:Connect(function()
  20. if nclip == true then
  21. lp.Character.Head.CanCollide = false
  22. lp.Character.Torso.CanCollide = false
  23. end
  24. end);
  25.  
  26. ms.KeyDown:Connect(function(k)
  27. if k == nckey then
  28. nclip = not nclip
  29. if nclip == true then
  30. print("Noclip is on.")
  31. else
  32. print("Noclip if off.")
  33. end
  34. end
  35. end)
  36.  
  37. print("Noclip key is X");
  38. print("Press X to turn noclip on and off");
  39. print("This noclip should bypass most anti-cheats");
Add Comment
Please, Sign In to add comment