|
| 27 Jul 2013 10:21 PM |
I've only made semi-auto, so is this a good way to make an automatic?
bdown = false script.Parent.Equipped:connect(function(Mouse) Mouse.Button1Down:connect(function() bdown = true repeat wait(0.1) if bdown == true then -- hurr durr code here end until bdown == false end)
Mouse.Button1Up:connect(function() bdown = false end)
-- rest of code here end) |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 27 Jul 2013 10:24 PM |
Narp. script.Parent.Equipped:connect(function(Mouse) local bdown = false Mouse.Button1Down:connect(function() bdown = true while bdown and wait(0.1) do --Light 'em up up up, Light 'em up up up, Light 'em up up up on fiya! end end) Mouse.Button1Up:connect(function() bdown = false end) -- rest of code here end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Jul 2013 10:32 PM |
| I PASSED MRCHUBBS ON POST COUNT HAX! |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 27 Jul 2013 10:35 PM |
Hi MrChubbs. You made me a chub in your mall game. ;D -=Robo=- |
|
|
| Report Abuse |
|
|