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: Button2Down Nawt Working?

Previous Thread :: Next Thread 
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
16 Sep 2011 09:44 PM
Oddly, it isn't working, however, Button1Down does work;

Tool=Instance.new("Tool")
Handle=Instance.new("Part",Tool)
Handle.Name="Handle"
Tool.Equipped:connect(function(mouse)
Tool:remove()
mouse.Icon="http://www.roblox.com/asset/?id=2966012"
mouse.Button1Down:connect(function()
print("mined part")
end)
mouse.Button2Down:connect(function()
print("created part")
end)
end)
Tool.Parent=script.Parent.Parent.Character

­<'+1 Post. Ujelly?'>
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
16 Sep 2011 10:18 PM
Will you be using the new terrain generator for this? :o

Odd,
the script looks fine to me :l
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
16 Sep 2011 10:30 PM
They're locked I believe (or at least don't fire correctly).
Report Abuse
XxXSpamaniXxX is not online. XxXSpamaniXxX
Joined: 10 Sep 2011
Total Posts: 357
16 Sep 2011 10:32 PM
this never worked since i even learned to script
Report Abuse
kingmod123 is not online. kingmod123
Joined: 16 May 2009
Total Posts: 699
17 Sep 2011 12:20 AM
When DID you learn to script, above? 3 days ago?
Report Abuse
kingmod123 is not online. kingmod123
Joined: 16 May 2009
Total Posts: 699
17 Sep 2011 12:21 AM
Oopsie, sorry, didn't know who you were, lawl, please excuse me D:
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
17 Sep 2011 12:31 AM
Dark, I'm actually creating my own perlin noise generator, and I have a formula on how to do it, or at least I hope.

­<'+1 Post. Ujelly?'>
Report Abuse
shred1894 is not online. shred1894
Joined: 30 Aug 2009
Total Posts: 6515
17 Sep 2011 12:53 AM
button2down does not work with tools, I tried something like that before and someone told me it can't work.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
17 Sep 2011 02:10 AM
its because your saying it wrong. its Button2Down.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
17 Sep 2011 02:11 AM
lolfail, didn't read script. Hmm. mabye ROBLOX is thinking mouse button 2 is teh scroll button.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
17 Sep 2011 02:46 AM
^ Maybe!
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
17 Sep 2011 03:02 AM
Because I tried it, and it works fine for scroller, but not mousebutton. Mabye trying Button3Down would work?
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
17 Sep 2011 06:14 AM
there is a Mouse thing plugin in roblox studio
Report Abuse
Parthax is not online. Parthax
Joined: 27 Apr 2011
Total Posts: 6941
17 Sep 2011 06:17 AM
[ Content Deleted ]
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
17 Sep 2011 06:18 AM
^ YA!!
Report Abuse
radioactivated is not online. radioactivated
Joined: 05 Sep 2009
Total Posts: 1181
17 Sep 2011 07:42 AM
Take out the plugin with mouse icon. Press right mouse button and see Button2Down.
Report Abuse
shred1894 is not online. shred1894
Joined: 30 Aug 2009
Total Posts: 6515
17 Sep 2011 07:46 AM
just because there is a connection does,'t mean a tool can use it.
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
17 Sep 2011 07:55 AM
No, I believe it's what controls the camera position.

~Flurite, ROBLOX Wiki Writer
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
17 Sep 2011 08:03 AM
Flurite, Ur all wrong.
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
17 Sep 2011 08:07 AM
Explain, please?

~Flurite, ROBLOX Wiki Writer
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
17 Sep 2011 08:08 AM
i know the 2nd mouse button controls camera position and rotation, but you can also use it in a tool. Check the Object Browser.
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
17 Sep 2011 08:09 AM
I know the event exists, but the camera scrolling overrides it from what I believe.

~Flurite, ROBLOX Wiki Writer
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
17 Sep 2011 08:10 AM
Really, that never happens to me.
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
17 Sep 2011 08:12 AM
Button2 is reserved for camera functions and you can't use it.

------------------------------------------------------------------------------------------------------------ROBLOX >>>>>>>> MC
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
17 Sep 2011 08:44 AM
You can use it Blockoo. I've used it before. And person above me agrees.
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