I have looked at this for a while, and cannot pinpoint the issue. When I enable the movement locker bool using the Unity editor, the character cannot move(like its supposed to). But, when I try to disable or enable the variable through script (called NameChoose), nothing happens. I have no clue whats happening, but any help is appreciated.
119095-namestuff1.png

119096-namestuff2.png

//This is the script that won’t do anything

If you’re getting any errors, it’ll probably be related to those. If not, then it’s possible Bye() is being called prematurely. Try putting a Debug.Log() inside Bye() so you can know when it’s called.

Thanks for your reply. I added a debug statement and found the script wasn’t being called at all. I looked my other scripts and through some painful trial and error, I fixed the issue. Thanks for your help.