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.
https://ibb.co/GMC2Nnp
You're forgetting that any changes done on the client will not be replicated to the server unless there is a bridge formed via RemoteEvents or RemoteFunctions. Respect filtering enabled.