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

Fade a point light? Be able to control how slow it fades.

Hello,

I would like to know how I would go about fading a pointlight. Also, how would I be able to control how slow it fades?

Thanks,

Anthony

1 answer

Alright so let's assume you already have a point light.

local pointlight = -- location of pointlight

for i = pointlight.Brightness,0 do
wait() -- insert how fast you want it to decrease in brightness
pointlight.Brightness = i -- sets the brightness to the for loop's value 'i'
end

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