function sameTeam(m)local M=Tag.Value local C=(game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(m.Parent)if M and C then if M==C then return true end if C.Neutral then return false end return M.TeamColor==C.TeamColor end return false end function tagHuman(m)local M=Tag:Clone()M.Parent=m;(game:GetService("\068\101\098\114\105\115")):AddItem(M)end
--used by checkTeams
function sameTeam(otherHuman)
	local player = Tag.Value
	local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
	if player and otherPlayer then
		if player == otherPlayer then
			return true
		end
		if otherPlayer.Neutral then
			return false
		end
		return player.TeamColor == otherPlayer.TeamColor
	end
	return false
end

function tagHuman(human)
	local tag = Tag:Clone()
	tag.Parent = human
	game:GetService("Debris"):AddItem(tag)
end
