So basically we all know the while true do and while wait() do loops. So those loops are technically unbreakable but can be breaked by using 'break' however, what I want is a loop that nevers breaks even if the character was reloaded. (im talking about a localscript for the player)
so it would be like:
(true) while wait() do print'Hello' break end
but what I want:
while wait() do
(characterloaded)
loop = true
end
the loop never breaks except when the 'break' is used. Is this possible?

4 comments
It is as simple as not using break. You're making it too hard on yourself.
^ agreed. easier ways, unsimplified.
I don't think you understood what I meant
do you mean when the player respawns the script has to re-run?