|
| 31 Jul 2015 08:53 PM |
This script works fine when I disable it and re-enable it, however if I change one of the values the script ignores it completely and I need to restart the script before it notices changes, what is wrong with it?
cp1 = script.Parent.cp1.Value cp2 = script.Parent.cp2.Value cp3 = script.Parent.cp3.Value
while true do wait(1) if script.Parent.Parent.GameOngoing.Value == true and script.Parent.TimeLeft.Value == 0 then script.Parent.TimeLeft.Value = 60 script.Parent.Parent.Countdown.Value = false _G.GameWinner() end if script.Parent.Parent.GameOngoing.Value == true and cp1 == 1 and cp2 == 1 and cp3 == 1 or script.Parent.Parent.GameOngoing.Value == true and cp1 == 2 and cp2 == 2 and cp3 == 2 then if script.Parent.TimeLeft.Value > 0 then script.Parent.Parent.Countdown.Value = true script.Parent.TimeLeft.Value = script.Parent.TimeLeft.Value - 1 end else script.Parent.TimeLeft.Value = 60 script.Parent.Parent.Countdown.Value = false end end |
|
|
| Report Abuse |
|
|
Burglered
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 962 |
|
|
| 31 Jul 2015 08:59 PM |
Value.Changed:connect
EnergyDrink.dll is missing or has been corrupted. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 09:45 PM |
| Why would that change anything? I'm using a while loop. |
|
|
| Report Abuse |
|
|
| |
|
|
| 31 Jul 2015 11:06 PM |
| Can anyone tell me why this is breakimg? No error |
|
|
| Report Abuse |
|
|
| |
|
Pralisk
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 300 |
|
|
| 01 Aug 2015 02:42 AM |
I can script Good. Im cool I know what Lua is.
I have ROBLOX+ |
|
|
| Report Abuse |
|
|
Pralisk
|
  |
| Joined: 25 Oct 2009 |
| Total Posts: 300 |
|
|
| 01 Aug 2015 02:44 AM |
Hey yea you will want to change that .Parent script to a .Adopted Child because parenst dont do energy drinks.
I have ROBLOX+ |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 01 Aug 2015 06:03 PM |
| Hey yea you will want to change that .Parent script to a .Adopted Child because parenst dont do energy drinks.[2] |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2015 06:17 PM |
| Reporting for spam... either help, or don't help, but don't spam pointlessly. |
|
|
| Report Abuse |
|
|