Universal Script 📌
393 Views
6.6k Executions

Timlua

Universal Script 📌
fantimur49
fantimur49First script
11 months 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

passing through the wall.

View Raw
-- Простая версия для телефона
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local noclip = false
local conn

local function nc()
    for _, v in pairs(char:GetDescendants()) do
        if v:IsA("BasePart") then v.CanCollide = false end
    end
end

local function toggle()
    noclip = not noclip
    if noclip then
        print("NoClip ON")
        conn = RunService.Stepped:Connect(nc)
    else
        print("NoClip OFF")
        if conn then conn:Disconnect() end
    end
end

-- Создаем кнопку
local sg = Instance.new("ScreenGui")
sg.Parent = game.CoreGui
sg.ResetOnSpawn = false

local btn = Instance.new("TextButton")
btn.Size = UDim2.new(0, 100, 0, 50)
btn.Position = UDim2.new(0, 10, 0, 10)
btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
btn.Text = "NoClip: OFF"
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Font = Enum.Font.GothamBold
btn.TextSize = 14
btn.Parent = sg



Comments

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

More universal scripts

See all
Universal Script 📌
1.5k
5.1k
Bumped 3 hours ago
Script hub
160.8k
1.5M
Bumped 9 hours ago
Key System

Script hub

#14 this week

Verified script badgeAirflow HUB

Universal Script 📌
2.6k
1.0k
Bumped 9 hours ago
Script hub
1.6M
1.9M
Bumped 9 hours ago
Key System

Script hub

#6 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Universal Script 📌
41.0k
817.9k
Bumped 11 hours ago
Universal Script 📌
471
15
Approved 11 hours ago
Universal Script 📌
134.4k
24.2k
Bumped 12 hours ago
Key System