I have an animation and i want it to do damage what i need to do?

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)



1 comment

0

Please do not repost your question.