I've been working on a directional swing system for a melee-based combat game.
Each player has MouseHorizontal and MouseVertical IntValues in which are always -1, 0, or 1, corresponding to the previous movement of their mouse.
The IntValues are being set perfectly, however, I'm currently trying to access these values through the weapons script. As you can see in this screenshot, the IntValue on the right shows as 1, however, the print from the weapon script shows 0.
I'm currently stuck here. Any help would be greatly appreciated.

2 comments
it will be good to show some code, maybe something is changing value
I thought that would be the case, but I just did a check and the values are only being changed by the script that checks for mouse movement.