-
What do you want to achieve?
Detect when the player is holding down the left mouse button from a tool.
I fired a first event so the animation can be played for everyone in the server. Then I wanted to fire a second event when the player take his finger of the button so I can detect for how long he held the button.(is there a better way to do this?).
I created a modifier that increases as long as the key is down. This way I can change damage and other things -
What is the issue?
It says:" Unable to cast token to Token" -
What solutions have you tried so far?
Tried using a keycode button but still doesn’t work
THIS IS THE CODE AND THE PROBLEM
It’s the script in the tool