Universal Script ๐Ÿ“Œ
888 Views
699 Executions

noclip works for any game

Universal Script ๐Ÿ“Œ
DoorsScripter
DoorsScripter10K executions
3 weeks ago

Reviewed by QueueSpeedDemonPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

Early reports

0% say it works ยท 1 report in the last 2 weeks

Why it doesn't work Errors or does nothing 1
Also noticed:

Description

Noclip

View Raw
-- N Toggle Noclip
-- Place in StarterPlayer > StarterPlayerScripts

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local noclipEnabled = false

local function setNoclip(enabled)
    noclipEnabled = enabled
    print("Noclip: " .. (enabled and "ON" or "OFF"))
end

UserInputService.InputBegan:Connect(function(input, processed)
    if processed then return end

    if input.KeyCode == Enum.KeyCode.N then
        setNoclip(not noclipEnabled)
    end
end)

RunService.Stepped:Connect(function()
    if not noclipEnabled then return end

    local character = player.Character
    if not character then return end

    for _, part in ipairs(character:GetDescendants()) do
        if part:IsA("BasePart") then
            part.CanCollide = false
        end
    end
end)

player.CharacterAdded:Connect(function()
    task.wait(0.5)
    if noclipEnabled then
        setNoclip(true)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Universal Script ๐Ÿ“Œ
812
5.0k
Bumped 3 hours ago
Universal Script ๐Ÿ“Œ
6.2k
54.4k
Bumped 3 hours ago
Universal Script ๐Ÿ“Œ
2.4k
2.1k
Bumped 4 hours ago
Key System
Script hub
14.4k
75.1k
Bumped 6 hours ago
Universal Script ๐Ÿ“Œ
106
143
Approved 7 hours ago
Key System
Universal Script ๐Ÿ“Œ
107
185
Approved 7 hours ago