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)
Marked as Duplicate by Uglypoe, User#5423, and hiimgoodpack
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?