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

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

Asked by 10 years ago

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
0
A light is a glow, so it's hard to tell what you're actually trying to ask. 1waffle1 2908 — 10y
0
A Burning or like a candle or light flickr kinda of deal TheTiredHippo 30 — 10y

2 answers

Log in to vote
0
Answered by
Kozero 120
10 years ago

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.

Ad
Log in to vote
0
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
10 years ago

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.

0
That's more of a flickr kind of effect I want it to glow TheTiredHippo 30 — 10y

Answer this question