generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: When click tool, thing make happen do.

Previous Thread :: Next Thread 
solarBoat is not online. 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 is not online. 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 is not online. 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 is not online. solarBoat
Joined: 25 Feb 2013
Total Posts: 157
29 Aug 2014 04:19 PM
Bump 2
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
29 Aug 2014 04:22 PM
Wrong forum

Ask your question here
http://www.roblox.com/Forum/ShowForum.aspx?ForumID=33
Report Abuse
tyzone is not online. 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 is not online. solarBoat
Joined: 25 Feb 2013
Total Posts: 157
29 Aug 2014 04:33 PM
@tyzone
Thanks, that worked.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image