-- this is the animation script put your animation id in the animation

tool = script.Parent
local sword = true
tool.Activated:Connect(function()
	if sword == false then return end
	sword = false
	local char = tool.Parent
	local hum = char.Humanoid
	
	local anim = hum:LoadAnimation(script.Parent.Animation)
	anim:Play()
	wait(1)
	sword = true
end)
