(Fixed)Need a little help with my script.

I fixed it. Please delete this thread, Forum Moderators.

This

move = Input.GetKeyDown(KeyCode.D);

has to be in your Update method. (I haven’t checked the rest of the code - this is just an obvious issue! You have to check for the key to be pressed every frame, not only once at the start)