Put a click detector in the brick put a script in click detector in script put
script.Parent.MouseClick:Connect(function(p) local plr = p:GetPlayerFromCharacter() plr.StarterGear:ClearAllChildren() plr.Backpack:ClearAllChildren() end)
Sorry if there's an error I'm on phone.
Adding on to ReallyUnikatni
script.Parent.MouseClick:Connect(function(plr) plr.StarterGear:ClearAllChildren() plr.Backpack:ClearAllChildren() end)
Make a clickdetector and put the script inside.
Closed as Not Constructive by WideSteal321, DinozCreates, and User#24403
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?