Guys, I have tried creating sword using EppoBot script. It succeed, but the only thing I have unfinished is other attacks. In other words, in his video his sword has only ONE attack animation, while official ROBLOX sword has lunge, attack_1, attack_2, etc. If anybody can help, PLEASE help me adding second animation because I've searched likely every page of internet, but not even close to thing I've wanted. There is also another thing I would like to do. It's adding idle animation to this script (You can help as you wish). It would be best if you would give me answer. Thank you!
Here is 1st script:
local CanAttack = true
script.Parent.Activated:connect(function()
local attack = script.Parent.Parent.Humanoid:LoadAnimation(script.Attack)
if CanAttack == true then
attack:Play()
CanAttack = false
wait(1)
attack:Stop()
CanAttack = true
script.Parent.CanDamage.Value = true
end
end)
Here is 2nd script (incase you need it):
script.Parent.blade.Touched:connect(function(p)
if script.Parent.CanDamage.Value == true then
script.Parent.CanDamage.Value = true
p.Parent.Humanoid:TakeDamage(5)
end
end)

1 comment
Misred but do you want us to make it randomize the animation so it randomly plays animation 1 or 2?