-- Check1 done!


local Tool = script.Parent;
local dancer = nil
local humanoid = nil

enabled = true


function onActivated()
	if not enabled  then
		return
	end

	enabled = false
	humanoid = Tool.Parent:FindFirstChild("Humanoid")
	
	dancer = humanoid:LoadAnimation(script.lol)
	dancer:Play()
	Tool.Handle.overworld:Play()
	Tool.Handle.overworld.TimePosition = 1

end

function onEquipped()
	--Tool.Handle.EquipSound:play()
end

function onUnequipped()
	--Tool.Handle.EquipSound:stop()
	enabled = true
	if dancer ~= nil then
		Tool.Handle.switchh:Stop()
		Tool.Handle.overworld:Stop()
		dancer:Stop()
	end
end

Tool.Activated:connect(onActivated)
Tool.Equipped:connect(onEquipped)
Tool.Unequipped:connect(onUnequipped)
