Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how come this light bubl flicker isnt working?

Asked by 3 years ago
local bulb = script.Parent

while true do
bulb.Enabled  = false
wait(0.1)
bulb.Enabled = false

end

1 answer

Log in to vote
0
Answered by
Jo1nts 134
3 years ago

You're supposed to set one of them to true, not both of them to false.

local bulb = script.Parent

while true do
bulb.Enabled  = false
wait(0.1)
bulb.Enabled = true
wait(0.2)

end

also added a wait for ya

Ad

Answer this question