function sameTeam(Y)local F=getPlayer()local W=(game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(Y.Parent)if F and W then return F.TeamColor==W.TeamColor end return false end
--used by checkTeams
function sameTeam(otherHuman)
	local player = getPlayer()
	local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
	if player and otherPlayer then
		return player.TeamColor == otherPlayer.TeamColor
	end
	return false
end
