--[[for _,v in pairs(TaggedHumanoids) do
	if v and v.Health > 0 then
		UntagHumanoid(v)
		TagHumanoid(v, Creator)
		v:TakeDamage(Properties.LinkDamage * Total) --Let em' have it!!
	end
end]]

for i=1,#Events,1 do
	if Events[i] then
		Events[i]:Disconnect()
	end
end


for i=1, #Queue, 1 do
	if Queue[i] and Queue[i].Health > 0 then
		UntagHumanoid(Queue[i])
		TagHumanoid(Queue[i], Creator)
		Queue[i]:TakeDamage(Properties.LinkDamage * Total) --Let em' have it!!
		if Queue[i].Health <= 0 then -- Make em disappear!
			for _,v in pairs(GetDescendants(Queue[i].Parent)) do
				pcall(function()
					v.Transparency = 1
				end)
				pcall(function()
					v.Anchored = true
					Deletables[#Deletables+1] = v
					v.Parent = workspace
					v.CanCollide = false
				end)
			end
		end
		pcall(function()
			SparkleQueue[i].Enabled = false	
			SparkleQueue[i].Speed = NumberRange.new(10, 20)
			SparkleQueue[i]:Emit(75)
		end)
		pcall(function()
			Sounds[i]:Play()
		end)
		pcall(function()
			AttachQueue[i]["Constellation_Beam"].Enabled = false
		end)
		wait(.25)
	end
end
