while true do
wait(math.random(3500))
script.Parent.Fire.Enabled = true
end
✓ ANSWER ACCEPTED
Is this script script? as there is really no way to test it in game without waiting that long?
1 answer
✓ Accepted answer
If you want to test it then remove the
wait(math.random(3500))
Test if you get the fire enabled and then if it works place the
wait(math.random(3500))
Back again ;)
2 comments
0
That would cause the game to crash as it would have no wait time. and the math.random inside of a wait is what I was referring to about if it would work.
0
Oh yeah just put wait(1) instead of this then and then replace it back with wait(math.random(3500)) and if it works then it's fine :P
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
That'll work, but why use a loop?
As I want to to be a continuing thing in the game to give the game a realistic effect for the fire fighters, so it does not just start on fire then thats it.