Advertisement
BlixerCoreProjecks

idk btw im need it

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