How can I make it so players cant spam the same attack?
Is there a way to deactivate the right mouse for a couple seconds as that would stop spam?
Develop games in your browser. Powerful, performant & highly capable.
Have the right click limited by condition of a variable=0. When you right click set the variable to 1, start a short timer. On timer completed set the variable to 0.