How to move the position of your character?
Hello everyone, good morning (or afternoon if your in a different time zone) and today I have a serious question that came up in my head.
Literally, how do you move the position of your character on the X,Y, and Z axis similar to how you would do it for a brick?
Lately I have been going into the keyDown stuff, and even though im a complete novice towards scripting and probably shouldn't be doing this kind of advanced stuff, I like to experiment.
My ultimate goal is to make a script that once your press a certain key on the keyboard, it sends your character moving in different positions, as you are about to see in the code I will show you.
01 | player = game.Players.LocalPlayer |
05 | tool.Equipped:connect( function (mouse) |
06 | mouse.KeyDown:connect( function (key) |
08 | print ( "You pressed h" ) |
10 | print ( "Try again and press h" ) |
That was my first attempt at doing anything with keyDown, and it is pretty basic.