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: Quick help please.

Previous Thread :: Next Thread 
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
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 is not online. 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
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
31 Jul 2015 09:45 PM
Why would that change anything? I'm using a while loop.
Report Abuse
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
31 Jul 2015 10:27 PM
bump
Report Abuse
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
31 Jul 2015 11:06 PM
Can anyone tell me why this is breakimg? No error
Report Abuse
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
01 Aug 2015 02:30 AM
Bumppppppp
Report Abuse
Pralisk is online. 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 is online. 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
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
01 Aug 2015 03:23 AM
The spam...
Report Abuse
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
01 Aug 2015 07:24 AM
Please help :)
Report Abuse
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
01 Aug 2015 06:00 PM
bump again...
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
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
StrategyGames is not online. StrategyGames
Joined: 02 Dec 2006
Total Posts: 3677
01 Aug 2015 06:17 PM
Reporting for spam... either help, or don't help, but don't spam pointlessly.
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