local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Criar a ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "NoClipGui" screenGui.Parent = playerGui -- Criar o botão local button = Instance.new("TextButton") button.Name = "NoClipButton" button.Parent = screenGui button.Position = UDim2.new(0.034, 0, 0.532, 0) -- Posição modificada button.Size = UDim2.new(0, 200, 0, 57) -- Tamanho modificado button.Text = "Ativar NoClip" button.BackgroundColor3 = Color3.fromRGB(60, 60, 60) button.TextColor3 = Color3.fromRGB(255,255,255) button.Font = Enum.Font.SourceSansBold button.TextSize = 28 -- Função de NoClip local noclip = false local character = player.Character or player.CharacterAdded:Wait() local function setNoclip(state) noclip = state if noclip then button.Text = "Desativar NoClip" button.BackgroundColor3 = Color3.fromRGB(0, 170, 255) else button.Text = "Ativar NoClip" button.BackgroundColor3 = Color3.fromRGB(60, 60, 60) end end local function updateNoclip() if character then for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = not noclip end end end end -- Atualiza colisão constantemente game:GetService("RunService").Stepped:Connect(updateNoclip) -- Atualiza quando o personagem reaparecer player.CharacterAdded:Connect(function(char) character = char end) -- Clique no botão para alternar button.MouseButton1Click:Connect(function() setNoclip(not noclip) end)