local plr = game.Players.LocalPlayer
local attack = false
local mouse = plr:GetMouse()
local char = plr.Character
script.Parent.Activated:Connect(function()
local animations = {"Animation","Animationsd"}
local hum = char.Humanoid:LoadAnimation(script.Parent[animations[math.random(1,#animations)]])
script.Parent.Blade.Trail.Enabled = true
hum:Play()
attack = true
wait(.50)
hum:Stop()
script.Parent.Blade.Trail.Enabled = false
script.Parent.Blade.Touched:Connect(function(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum ~= nil and attack == true then
hum.Health = 0
attack = false
end
end)
end)