Normally, when a sword isn't playing an animation, it deals damage. How would I make it only deal damage when the sword animation is activated?
Current Damage Script:
script.Parent.blade.Touched:connect(function(p)
if script.Parent.CanDamage.Value == true then
script.Parent.CanDamage.Value = false
p.Parent.Humanoid:TakeDamage(20)
end
end)

2 comments
There's no implementation of any animation in your script.
I know, that's just the damage script not the animation script. Would you like me to add my animation script?