function UpdateTag(R)if R==L_1_ or not R.Character or not R.Character:FindFirstChild("\084\101\097\109\084\097\103\085\073")then return end local j=R.Character:FindFirstChild("\084\101\097\109\084\097\103\085\073")if R.Team==L_1_.Team then j.Enabled=true if R.Character:FindFirstChild("\065\067\083\095\067\108\105\101\110\116")and(R.Character.ACS_Client:FindFirstChild("\070\105\114\101\084\101\097\109")and R.Character.ACS_Client.FireTeam.SquadName.Value~="")then j.Frame.Icon.ImageColor3=R.Character.ACS_Client.FireTeam.SquadColor.Value else j.Frame.Icon.ImageColor3=Color3.fromRGB(255,255,255)end return end j.Enabled=false return end
--// Functions
function UpdateTag(plr)
	if plr == L_1_ or not plr.Character or not plr.Character:FindFirstChild("TeamTagUI") then
		return
	end
	local Tag = plr.Character:FindFirstChild("TeamTagUI")
	if plr.Team == L_1_.Team then
		Tag.Enabled = true
		if
			plr.Character:FindFirstChild("ACS_Client")
			and plr.Character.ACS_Client:FindFirstChild("FireTeam")
			and plr.Character.ACS_Client.FireTeam.SquadName.Value ~= ""
		then
			Tag.Frame.Icon.ImageColor3 = plr.Character.ACS_Client.FireTeam.SquadColor.Value
		else
			Tag.Frame.Icon.ImageColor3 = Color3.fromRGB(255, 255, 255)
		end
		return
	end
	Tag.Enabled = false
	return
end
