Function Touch(hit) if hit and h.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then game.Players[h.Parent.Name].Backpack:ClearAllChildren() local Chartool = FindFirstChildOfClas(HopperBin) or h.Parent_FindFirstChildOfClass(Tool) if CharTool then CharTool"Destroy() end end end
script.Parent.Touched:Connect(Touch)
Marked as Duplicate by User#19524
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?