You need to wait between the loops while true do will repeat an infinite amount of times until it eventually crashes.
To fix this change it with while task.wait(0.001) do
Sorry, I should’ve specified, n is shor t for number
for example
script.Parent.Title.TextSize = 80
wait(2)
while true do
task.wait(0.1)
script.Parent.Title.TextTransparency = 0.99 - script.Parent.Title.TextTransparency - 0.01
repeat script.Parent.Title.TextTransparency = 0 - 0.01 until script.Parent.Title.TextTransparency == 0
end
also you really shouldnt be doing your script like this. Instead you could tween these properties which would be much easier, faster, and more efficient.
^ you’re not supposed to do while wait(n) do
instead you put the wait inside the loop.
Plus he should be using tweens for what he’s doing anyway. Not looping.
This isn’t a bug, @reminiscynt gave a solution that fixes the error you’re getting, if you edit the task.wait(n) it should give you your desired result.
Offhand question, but why aren’t you using a tween for this?