local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") if playerGui:FindFirstChild("Rules") then playerGui.Rules:Destroy() end local character = player.Character or player.CharacterAdded:Wait() if character then for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.Anchored = false end end end