Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Light Which Turn On And off Automatically by scripts?

I Am Looking For A Script which can turn of lights automatically that should be able to run on a timer like wait 5 seconds and then the lights turn off then wait 10 seconds lights turn on kinda like that

1 comment

0

not a requesting site

1 answer

while true do
wait(math.random(1,10))
script.Parent.Enabled = false
wait(math.random(1,10))
script.Parent.Enabled = true
end

4 comments

0

Put in the light BTW

0

"enabled = false" twice? also, you just gave him a free script when he should have provided or compiled his own code.

0

my bad jesus

0

and there is nothing wrong with giving people the answer with something this simple

This discussion is preserved as it was. New answers, comments, and votes are closed.