I've searched everywhere and I cannot seem to find any explanation on how to do it.
Its fairly simple
brick.Touched:Connect(function(part) local p = game.Players:GetPlayerFromCharacter(part.Parent) if p then p.Backpack:ClearAllChildren() if p.Character:FindFirstChildOfClass("Tool") then p.Character:FindFirstChildOfClass("Tool"):Destroy() end end end)
Just define brick as the part you want it to be. P.S .Touched can have problems in some circumstances, be careful.