You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I would like to be able to have a script that detects when a player is moving and if shift is pressed or not. If shift is pressed then play the run animation and go to a certain speed. If it isn’t pressed then play the walk animation and go to a certain speed. -
What is the issue? Include screenshots / videos if possible!
I tried writing a few scripts that ended up wrong. I would need some help making one. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried looking around and found wrong solutions. The ones i found didn’t work or were to complicated to put in the game.