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

How to make a brick with a light source have a glow effect?

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

2 comments

0

A light is a glow, so it's hard to tell what you're actually trying to ask.

0

A Burning or like a candle or light flickr kinda of deal

2 answers

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.

1 comment

0

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.