Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local StealthMode = false -- If game has an anticheat that checks the logs
- local Indicator
- if not StealthMode then
- local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
- print("NOCLIP: Press Q to Activate")
- Indicator = Instance.new("TextLabel", ScreenGui)
- Indicator.AnchorPoint = Vector2.new(0, 1)
- Indicator.Position = UDim2.new(0, 0, 1, 0)
- Indicator.Size = UDim2.new(0, 200, 0, 50)
- Indicator.BackgroundTransparency = 1
- Indicator.TextScaled = true
- Indicator.TextStrokeTransparency = 0
- Indicator.TextColor3 = Color3.new(0, 0, 0)
- Indicator.TextStrokeColor3 = Color3.new(1, 1, 1)
- Indicator.Text = "Noclip: Enabled"
- end
- local noclip = true
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local mouse = player:GetMouse()
- mouse.KeyDown:Connect(function(key)
- if key == "q" then
- noclip = not noclip
- if not StealthMode then
- Indicator.Text = "Noclip: " .. (noclip and "Enabled" or "Disabled")
- end
- end
- end)
- while true do
- player = game.Players.LocalPlayer
- character = player.Character
- if noclip then
- for _, v in pairs(character:GetDescendants()) do
- pcall(function()
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end)
- end
- end
- game:GetService("RunService").Stepped:wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement