I wish to create an OnServerEvent so that when the player holds the right mouse button it plays an animation. I do not want this to be toggle though, I want it so that when you hold down the mouse the other script that has received the fired event also recognizes that the player is holding the right mouse button down. How would I perform this task, It seems complicated to me but is probably very simple.
You could simply fire the remoteevent with either true or false depending on if the user pushed down or let go of the mouse button, that way it’ll be true when held down and false when let go.
Animations can be handled on a local script.
Simply load the animation into the humanoid and play it from a local script normally, and it should play just fine
In fact, animations played on client will replicate and can be seen by other players. On top of that, local animations play faster and smoother, allowing better gameplay.
I didnt know this, thank you very much.