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 » Scripters
Home Search
 

Re: What type of scripter are you?

Previous Thread :: Next Thread 
drmiewlo is not online. drmiewlo
Joined: 14 Mar 2012
Total Posts: 1782
05 Jun 2014 11:16 PM
If you had to choose one over the other, which one would you pick?:

mouse.Button1Down:connect(function()

end)

mouse.Button1Up:connect(function()

end)

mouse.Button2Down:connect(function()

end)

mouse.Button2Up:connect(function()

end)

or

mouse.Button1Down:connect(function()

end)

mouse.Button2Down:connect(function()

end)

mouse.Button1Up:connect(function()

end)

mouse.Button2Up:connect(function()

end)
Report Abuse
kubuto2 is not online. kubuto2
Joined: 16 Jul 2008
Total Posts: 1275
05 Jun 2014 11:58 PM
Everyone would choose the first one unless your just scripting on the fly.
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
06 Jun 2014 12:26 AM
Personally, the first one.
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
06 Jun 2014 12:56 AM
first of course
Report Abuse
drmiewlo is not online. drmiewlo
Joined: 14 Mar 2012
Total Posts: 1782
06 Jun 2014 01:06 AM
Why "of course"? The second one has the Downs combined and the Ups combined -- seems clean to me.
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
06 Jun 2014 01:09 AM
because its the same button? Button1 and Button2 could do completely different things, and I like to add a little mark so I can ctrl-F stuff like this:

-- Button1 clicks

mouse.Button1Down:connect(function()
end)

mouse.Button1Up:connect(function()
end)

-- Button2 clicks

mouse.Button2Down:connect(function()
end)

mouse.Button2Up:connect(function()
end)
Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
06 Jun 2014 03:49 AM
mouse.Button1Click:connect(function()
--such rebel
end)


Also I thought button 2 was your right mouse button being clicked.
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
06 Jun 2014 03:50 AM
It is
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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