for n=1,#Events,1 do if Events[n]then Events[n]:Disconnect()end end for n=1,#Queue,1 do if Queue[n]and Queue[n].Health>0 then UntagHumanoid(Queue[n])TagHumanoid(Queue[n],Creator)Queue[n]:TakeDamage(Properties.LinkDamage*Total)if Queue[n].Health<=0 then for n,F in pairs(GetDescendants(Queue[n].Parent))do pcall(function()F.Transparency=1 end)pcall(function()F.Anchored=true Deletables[#Deletables+1]=F F.Parent=workspace F.CanCollide=false end)end end pcall(function()SparkleQueue[n].Enabled=false SparkleQueue[n].Speed=NumberRange.new(10,20)SparkleQueue[n]:Emit(75)end)pcall(function()Sounds[n]:Play()end)pcall(function()AttachQueue[n].Constellation_Beam.Enabled=false end)wait(.25)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
