The exact same script can print/animate on one place but not another. Any ideas?

I’m really confused about this. The exact same model and exact same script (I copy pasted it on a video) can print on one place but not another.

It otherwise works normally on both places, proven by the fact that character is animated and not still. If it wasn’t enough, I also did this:


It’s like the game goes through the print() line but ignores it. Why?
Could it have something to do with RunContext? It’s set to Client

It’s part of a bigger problem I have with animation scripts and this making debugging harder. On the other one, Humanoid.Running event fires, the print doesn’t print (but “Part Signal” does work), and the animation does not start. The default animation script does start animations, even when running on Client RunContext…
I know it may be hard to find an answer to this, or even replicate the issue with such small amount of information, but I have no idea how else can I describe this

UPDATE: Duplicating the whole model and removing the old one fixed the animation part, but not printing.

Have you tried using a regular LocalScript rather than setting the RunContext of a Script? I’ve personally never used RunContext and the only time I’ve experienced print not printing is when in a special environment like a Parallel Luau (which it doesn’t look like you’re doing here).

My only guess to this is that there is another script in the place where it’s not working that is interfering with the script that isn’t working. I would suggest maybe checking your game settings, but nothing comes to mind in terms of settings that would affect your scripts like this. Also does this problem exist both in studio and the Roblox player? Sometimes these things happen in either or due to a client issue. If not, try doing the same thing in the Roblox player.