So I am using the ROBLOX Animation Plugin and I did make my animations already. So the problem is, when you make an animation, it plays for 2 seconds which I don't want. So when the Jump animation is played, it plays for 2 secs. This is hard to explain but what I am wanting is when the player hits the ground I am wanting them to play there normal walk animation.
Clip of what is going on: https://gyazo.com/19f591e40c5f22a5154ea2c36c5c4154
local Player = game.Players.LocalPlayer
local UserInputService = game:GetService('UserInputService')
local JumpAnim = script:WaitForChild('Jump')
local DabAnim = script:WaitForChild('Dab')
UserInputService.InputBegan:connect(function(Input)
if Input.KeyCode == Enum.KeyCode.Space then
local JAnim = Player.Character.Humanoid:LoadAnimation(JumpAnim)
JAnim:Play()
elseif Input.KeyCode == Enum.KeyCode.Q then
local DAnim = Player.Character.Humanoid:LoadAnimation(DabAnim)
DAnim:Play()
end
end)
