|
| 22 Nov 2012 12:19 PM |
For example:
mouse.KeyDown:connect(function(key) if key == "e" then tool.Equipped()
Tactical Rainboom Inbound |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 12:19 PM |
--Forgot the ends :( end end)
--Waiting for floodcheck.... Floodcheck wait complete.
Tactical Rainboom Inbound |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 12:43 PM |
| Reparenting a Tool to the Player's Character will equip the tool. |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 01:09 PM |
@Scar Yeah, I realized that after a bit, but that still doesn't answer my question.
Tactical Rainboom Inbound |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 01:12 PM |
You mean force-trigger the event? I suppose you could create a BindableEvent and connect stuff to it, but I don't think you can do what you want with events.
¬ SHG Scripter Tier-2 ♣ LuaLearners Elite |
|
|
| Report Abuse |
|
|
sharps222
|
  |
| Joined: 09 Dec 2010 |
| Total Posts: 117 |
|
|
| 22 Nov 2012 01:12 PM |
| It should work, I just never knew you could use tool.Equiped() to equip a tool, I just usually parent the tool to the character causing it to select. |
|
|
| Report Abuse |
|
|