|
| 12 May 2014 06:19 PM |
It's suppose to be a shop it works but when I have enough pts it just freezes studio. Output says nothing and nothing is underlined in red
yourClicks = script.Parent.Parent.Parent.Parent.MoneyBagClickerTest.ImageButton.Val player = script.Parent.Parent.Parent.Parent.Parent button = script.Parent
----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------
script.Parent.MouseButton1Down:connect(function(AuoClickerUpTwo) if yourClicks.Value >= 50 then yourClicks.Value = yourClicks.Value - 50 while true do yourClicks.Value = yourClicks.Value + 2 end else if yourClicks.Value < 50 then do button.Text = "Error" wait(3) button.Text = "|+2| Cost: 50 Clicks" end end end end) |
|
|
| Report Abuse |
|
|
|
| 12 May 2014 06:20 PM |
| you have an infinite loop without a wait. |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 May 2014 06:23 PM |
while true do yourClicks.Value = yourClicks.Value + 2 wait() end |
|
|
| Report Abuse |
|
|