|
| 30 Mar 2013 08:57 PM |
| I want to trigger a function when a tool is first picked up. How can I do this. |
|
|
| Report Abuse |
|
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 30 Mar 2013 09:05 PM |
PickedUpBefore = false tool = script.Parent -- adjust to the tool
tool.Equipped:Connect(function() if PickedUpBefore == false then PickedUpBefore = true -- stuff to do when first picked up end end) |
|
|
| Report Abuse |
|
|
| |
|