menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Help?? Time (variable) subtracts faster then it should?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Help?? Time (variable) subtracts faster then it should?
ChatR
Join Date: 2010-11-05
Post Count: 277
#40299562
Tuesday, January 04, 2011 12:30 AM GMT
time = 60 repeat wait(1) time = time - 1 until time == 0 print(time) It prints 60,59,48,47,46,34, [ more numbers, but doesn't go down by one! ] I would use a for loop but it failed last time.. [portion of script]
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
ChatR
Join Date: 2010-11-05
Post Count: 277
#40299632
Tuesday, January 04, 2011 12:30 AM GMT
I just noticed I have very.. strange problems..
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
vanillaluv
Join Date: 2010-11-06
Post Count: 979
#40299689
Tuesday, January 04, 2011 12:31 AM GMT
You must print it within the wait loop. time = 60 repeat wait(1) time = time - 1 print(time) until time == 0
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
ChatR
Join Date: 2010-11-05
Post Count: 277
#40299749
Tuesday, January 04, 2011 12:31 AM GMT
Does it seriously matter..
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
goldfissy
Join Date: 2009-01-09
Post Count: 1331
#40300445
Tuesday, January 04, 2011 12:39 AM GMT
Loop Beginning Loop End Do Stuff <- This will only work when the loop is over
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
ChatR
Join Date: 2010-11-05
Post Count: 277
#40300518
Tuesday, January 04, 2011 12:40 AM GMT
That is how it looks in the whole scirpt.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
ChatR
Join Date: 2010-11-05
Post Count: 277
#40300839
Tuesday, January 04, 2011 12:44 AM GMT
NVM, I found it out. I was using the .mouseclick event, and every time you click it the time goes down also. :/ Thanks for the help anyways. =D
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right