-- Noclip local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local noclipEnabled = false -- Création of ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "NoclipGui" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") -- Création of bouton local button = Instance.new("TextButton") button.Size = UDim2.new(0, 120, 0, 40) button.Position = UDim2.new(0, 20, 0, 100) button.BackgroundColor3 = Color3.fromRGB(30, 30, 30) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Text = "Noclip OFF" button.Font = Enum.Font.GothamBold button.TextSize = 16 button.Active = true button.Draggable = true button.Parent = screenGui local function setCanCollide(state) local char = player.Character if not char then return end for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = state end end end button.MouseButton1Click:Connect(function() noclipEnabled = not noclipEnabled if noclipEnabled then button.Text = "Noclip ON" button.BackgroundColor3 = Color3.fromRGB(0, 170, 0) else button.Text = "Noclip OFF" button.BackgroundColor3 = Color3.fromRGB(30, 30, 30) setCanCollide(true) end end) RunService.Stepped:Connect(function() if noclipEnabled then setCanCollide(false) end end)