Universal Script 📌
25.2k Views
204 Executions

Simple Noclip Script

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Simple noclip script. Press N to activate.

Updates

  1. Script edited: Create script

View Raw
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

local noclip = false

local function enableNoclip()
    noclip = true
    while noclip do

        for _, part in pairs(character:GetDescendants()) do
            if part:IsA("BasePart") and part.CanCollide then
                part.CanCollide = false
            end
        end
        game:GetService("RunService").Stepped:Wait()
    end
end

local function disableNoclip()
    noclip = false

    for _, part in pairs(character:GetDescendants()) do
        if part:IsA("BasePart") and not part.CanCollide then
            part.CanCollide = true
        end
    end
end

-- Toggle noclip on and off with the "N" key
game:GetService("UserInputService").InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.N then
        if noclip then
            disableNoclip()
        else
            enableNoclip()
        end
    end
end)



Comments

2
Log in to join the conversation. Login
Your_Local_Exploiter's profile picture
Your_Local_ExploiterUploader2 years ago(edited)

@cripexm you need an executor

1
cripexm's profile picture
cripexm2 years ago(edited)

yo its my first time downloading script how do i set up

1

Tags

More universal scripts

See all
Script hub
176.7k
1.6M
Bumped 1 hour ago
Key System
Script hub
46.5k
11.5k
Bumped 4 hours ago
Key System
Paid
Script hub
2.5M
798.8k
Bumped 5 hours ago
Key System

Script hub

#9 today

Verified script badgeLumin Hub | #1 | Insta Steal