-- nO tOuChIe

local CanAttack = true

script.Parent.Slash.OnServerEvent:Connect(function()
 local attack = script.Parent.Parent.Humanoid:LoadAnimation(script.Attack)
 
 if CanAttack == true then
  attack:Play()
  CanAttack = false
  script.Parent.CanDamage.Value = true
  wait(1)
  attack:Stop()
  CanAttack = true
  script.Parent.CanDamage.Value = false
 end
end)
