L_14_.OnClientEvent:connect(function(M)if M.TeamColor==L_1_.TeamColor and(M.Character and M.Character:FindFirstChild("\072\101\097\100"))then if((M.Character:WaitForChild("\083\097\117\100\101")):WaitForChild("\070\105\114\101\084\101\097\109")).SquadName.Value~=""then spawnTag(M.Character,((M.Character:WaitForChild("\083\097\117\100\101")):WaitForChild("\070\105\114\101\084\101\097\109")).SquadColor.Value)else spawnTag(M.Character,Color3.fromRGB(255,255,255))end end if M.TeamColor~=L_1_.TeamColor then if M.Character and(M.Character:FindFirstChild("\072\101\097\100")and(M.Character:FindFirstChild("\072\101\097\100")):FindFirstChild("\084\101\097\109\084\097\103"))then(M.Character:FindFirstChild("\072\101\097\100")).TeamTag:Destroy()end end end)
--// Event Connections
L_14_.OnClientEvent:connect(function(L_22_arg1)
	if L_22_arg1.TeamColor == L_1_.TeamColor and L_22_arg1.Character and L_22_arg1.Character:FindFirstChild("Head") then
		if L_22_arg1.Character:WaitForChild("Saude"):WaitForChild("FireTeam").SquadName.Value ~= "" then
			spawnTag(
				L_22_arg1.Character,
				L_22_arg1.Character:WaitForChild("Saude"):WaitForChild("FireTeam").SquadColor.Value
			)
		else
			spawnTag(L_22_arg1.Character, Color3.fromRGB(255, 255, 255))
		end
	end

	if L_22_arg1.TeamColor ~= L_1_.TeamColor then
		if
			L_22_arg1.Character
			and L_22_arg1.Character:FindFirstChild("Head")
			and L_22_arg1.Character:FindFirstChild("Head"):FindFirstChild("TeamTag")
		then
			L_22_arg1.Character:FindFirstChild("Head").TeamTag:Destroy()
		end
	end
end)
