tool=script.Parent local s=true tool.Activated:Connect(function()if s==false then return end s=false local e=tool.Parent local n=e.Humanoid local T=n:LoadAnimation(script.Parent.Animation)T:Play()wait(1)s=true end)
-- 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)
