What i want it to do is just go from 0 to 0.30 and keep repeating but they just go to -1 then back to 1 why does this happen ?
glow = script.Parent
num = 30
while true do
for i = 1, num do
glow.Transparency = 0+i/num/1
wait()
end
for i = 1, num do
glow.Transparency = 0.30 - i/num/1
wait()
end
end

1 comment
it goes from 0 to 1 then instaly goes back to 0 and i want it to go from 0 to 0.30 then from 0.30 to 0...