So I'm new to scripting and I tried to do a script but it unfortunately did not work. Here is what I did:
local part = game.Workspace.Camera1.Light
while true do
part.transparency = .5
wait(1)
part.transpareny = 1
wait(1)
end
So I wanted the part to change transparency every second but this script does not seem to work. Nothing shows anything wrong in the output. What did I do wrong? The script is under the Game.Workspace.Camera1.Light.Script
Another Question: Can I also change the brightness of the light every second along with the transparency? Thank you :)

3 comments
Just pointing out that "local" is not necessary outside of a function, the problem is that "Transparence" requires a capital "T"
Oh ok, thank you :)
Still doesn't seem to work though /: