Advertisement
AbdulSports11

Noclip Script!

Feb 19th, 2022
19,234
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 1
  1. like subscribe share! Enjoy. :D
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. local StealthMode = true -- If game has an anticheat that checks the logs
  9.  
  10. local Indicator
  11.  
  12. if not StealthMode then
  13. local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
  14. print("NOCLIP: Press Q to Activate")
  15. Indicator = Instance.new("TextLabel", ScreenGui)
  16. Indicator.AnchorPoint = Vector2.new(0, 1)
  17. Indicator.Position = UDim2.new(0, 0, 1, 0)
  18. Indicator.Size = UDim2.new(0, 200, 0, 50)
  19. Indicator.BackgroundTransparency = 1
  20. Indicator.TextScaled = true
  21. Indicator.TextStrokeTransparency = 0
  22. Indicator.TextColor3 = Color3.new(0, 0, 0)
  23. Indicator.TextStrokeColor3 = Color3.new(1, 1, 1)
  24. Indicator.Text = "Noclip: Enabled"
  25. end
  26.  
  27. local noclip = true
  28. local player = game.Players.LocalPlayer
  29. local character = player.Character or player.CharacterAdded:Wait()
  30.  
  31. local mouse = player:GetMouse()
  32.  
  33. mouse.KeyDown:Connect(function(key)
  34. if key == "q" then
  35. noclip = not noclip
  36.  
  37. if not StealthMode then
  38. Indicator.Text = "Noclip: " .. (noclip and "Enabled" or "Disabled")
  39. end
  40. end
  41. end)
  42.  
  43. while true do
  44. player = game.Players.LocalPlayer
  45. character = player.Character
  46.  
  47. if noclip then
  48. for _, v in pairs(character:GetDescendants()) do
  49. pcall(function()
  50. if v:IsA("BasePart") then
  51. v.CanCollide = false
  52. end
  53. end)
  54. end
  55. end
  56.  
  57. game:GetService("RunService").Stepped:wait()
  58. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement