What does this error mean

so im creating a fading UI so instead of fading it just becomes invisible and this is what shows up
and this is the script

everything works just not the fading part please help

It’s because you’re using the while loop without a wait, meaning it’s continually running tens of times a second. Try and avoid using that and workaround, (i.e. use the tween service).

You may have also noticed the game/studio playtest takes a bit long to load or it freezes for a second, which is there the script is enduring the heavy stress of a no-wait while loop in which the execution is eventually halted and the error outputs.

1 Like