menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Crashing... help!
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Crashing... help!
smartlegomaniac
Join Date: 2012-06-16
Post Count: 519
#184548195
Monday, February 29, 2016 9:03 PM GMT
The game crashes every time I try to test it. Can some help? while true do if script.Parent.Reflectance == 1 then wait(math.random(40, 120)) script.Parent.Reflectance = 0 end end
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
cheesecake123456
Join Date: 2009-06-01
Post Count: 1529
#184548366
Monday, February 29, 2016 9:06 PM GMT
The wait does not run every time so do something like this: while wait(0.1) do
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
smartlegomaniac
Join Date: 2012-06-16
Post Count: 519
#184548575
Monday, February 29, 2016 9:11 PM GMT
Thank you! That worked!
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