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
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
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.