Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How i can put damage to my animation? [closed]

Asked by 6 years ago
Edited 6 years ago

This question already has an answer here:

How i can make my punching animation do damage?

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)



0
Please do not repost your question. User#5423 17 — 6y

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?