Im trying to make the player go faster when hes not using the weapon and then slower when the player is, but i am having a hard time finding the variable >
i tryed:
player.speed -= 1;
player.speed = .1;
but none of these work sadly
can anyone help me out?