Script only works once

It doesn’t break because the character is nil because I’ve added a restriction for it not to run until a character exists.

This was a pretty complicated question since it’s hard to explain to someone from an outside perspective, I already thought of a way to work around this issue but thanks for your attempts in helping.