Would this work as a light glow script?
a = script.Parent
while true do
a.pointlight.Brightness = 4
wait(.01)
a.pointlight.Brightness = 5
end
Would this work as a light glow script?
a = script.Parent
while true do
a.pointlight.Brightness = 4
wait(.01)
a.pointlight.Brightness = 5
end
You would need increase or decrease the difference between the brightness so there's a clear difference.Maybe add a sound to make it sound and look even more realistic.
You may want to add a — wait is light source name "PointLight" or "pointlight"? Because Lua is case sensitive.
Anyways, you may want to add a wait after you made the brightness 5 because the script will return right back to 4 in a instant, nearly unnoticeable.
That's more of a flickr kind of effect I want it to glow
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
A light is a glow, so it's hard to tell what you're actually trying to ask.
A Burning or like a candle or light flickr kinda of deal