Using editable variables?

Also after the teleport, if I try to do a simple cast to character and set a variable from it, it simply doesn’t work, I’ve tried to print string but the code doesn’t go past the cast to character for some reason :/. Also thank you very much for trying to help!