I'm trying to make a fading in and fading out PointLight using it's property Brightness. Seems like a simple question, but I cant quite figure it out. I've tried using for, but it doesn't work. Any help please? Here is the code I've tried using:
for i=1,0,.1 do
script.Parent.PointLight.Brightness = i
end
Also, if someone could give me a little refresher on how to use for loops correctly, that would be awesome!

1 comment
Thank you so much!