@Loukykittymeowmeow heres the code if you wanna look at it and see how it works. X is for sideways and Y is for up and down.