|
| 19 Jul 2013 11:12 AM |
| I need a script that deletes a certain tool from the player in workspace (not in players, workspace) when they touch it. i tried Workspace.Player.PaintBucket:remove() but i don't think that "player" is the right thing. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2013 11:15 AM |
script.Parent.Touched:connect(hit) if hit.Parent:FindFirstChild("PaintBucket") then hit.Parent.PaintBucket:Destroy() end end)
--That SHOULD work
*Tell me about the rabbits, George* |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Jul 2013 11:16 AM |
No problem. Glad I could help!
*Tell me about the rabbits, George* |
|
|
| Report Abuse |
|
|