I have another question, what can i also need to do to make my animation play one by one. like right punch press f next left punch press f again and kick press f again and again and again ?
local plr = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
UIS.InputBegan:connect(function(key, GPE)
if key.KeyCode == Enum.KeyCode.F and not GPE then
local anim1 = plr.Character.Humanoid:LoadAnimation(script.Animation1)
local anim2 = plr.Character.Humanoid:LoadAnimation(script.Animation2)
local anim3 = plr.Character.Humanoid:LoadAnimation(script.Animation3)
anim1:Play()
wait(0.5)
anim1:Stop()
anim2:Play()
wait(0.5)
anim2:Stop()
anim3:Play()
wait(0.5)
anim3:Stop()
end
end)

3 comments
How i can post my script here so that i know what i need to change or to add.
press the lua buttona nd iside of the ~~ put your code e.g ~~--code ~~
Thanks.