How can i make a move in the direction they are facing?
So I am adding a rolling feature to my game. Ik how to do the animation part but do not not how to make the player move in the direction they are facing. help
Here is my animation script:
1 | local UIS = game:GetService( 'UserInputService' ) |
2 | local Anim = script.Parent:WaitForChild( 'RollAnim' ) |
4 | UIS.InputBegan:Connect( function (input) |
5 | if input.KeyCode = = Enum.KeyCode.R then |
6 | local Animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim) |