hello im new to scripting and im trying to make a script that makes lightning appear and disappear for a quick second but it keeps looping and idk why heres my script
while true do
wait(.1)
script.Parent.Transparency = 1
wait(4.5)
script.Parent.Transparency = 0
wait(.1)
script.Parent.Transparency = 1
end

1 comment
"while true do". A while loop will forever repeat until the condition after it is false. You put while true do. true==true ALWAYS.