solarBoat
|
  |
| Joined: 25 Feb 2013 |
| Total Posts: 157 |
|
|
| 29 Aug 2014 04:07 PM |
So, i'm having trouble with something. I've googled it, but cant find anything useful, how to make a script that whenever you click with your tool out, it does some code? For example,
Tool.ClickHappenThing(mouseorsomething) print("wow nice job") end
I accidently posted this, and for some reason, Do not allow posts was allowed. oops. |
|
|
| Report Abuse |
|
|
solarBoat
|
  |
| Joined: 25 Feb 2013 |
| Total Posts: 157 |
|
|
| 29 Aug 2014 04:09 PM |
| Note: I noticed that there is an event/property/thing called Activated in the Tool, so that has something to do with it I think. |
|
|
| Report Abuse |
|
|
solarBoat
|
  |
| Joined: 25 Feb 2013 |
| Total Posts: 157 |
|
|
| 29 Aug 2014 04:14 PM |
Bump one: I don't think this is too complex, can nobody help? |
|
|
| Report Abuse |
|
|
solarBoat
|
  |
| Joined: 25 Feb 2013 |
| Total Posts: 157 |
|
| |
|
|
| 29 Aug 2014 04:22 PM |
Wrong forum
Ask your question here http://www.roblox.com/Forum/ShowForum.aspx?ForumID=33 |
|
|
| Report Abuse |
|
|
tyzone
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1726 |
|
|
| 29 Aug 2014 04:24 PM |
local tool = script.Parent tool.Equipped:connect(function(mouse) mouse.Button1Down:connect(function() print("I have no idea.") end) end) |
|
|
| Report Abuse |
|
|
solarBoat
|
  |
| Joined: 25 Feb 2013 |
| Total Posts: 157 |
|
|
| 29 Aug 2014 04:33 PM |
@tyzone Thanks, that worked. |
|
|
| Report Abuse |
|
|