Players=game:GetService("\080\108\097\121\101\114\115")Debris=game:GetService("\068\101\098\114\105\115")Functions={}function Functions.IsTeamMate(F,Q)return F and(Q and(not F.Neutral and(not Q.Neutral and F.TeamColor==Q.TeamColor)))end function Functions.TagHumanoid(F,Q)local h=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")h.Name="\099\114\101\097\116\111\114"h.Value=Q Debris:AddItem(h,2)h.Parent=F end function Functions.UntagHumanoid(F)for F,Q in pairs(F:GetChildren())do if Q:IsA("\079\098\106\101\099\116\086\097\108\117\101")and Q.Name=="\099\114\101\097\116\111\114"then Q:Destroy()end end end return Functions


Players = game:GetService("Players")
Debris = game:GetService("Debris")

Functions = {}

function Functions.IsTeamMate(Player1, Player2)
	return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
end

function Functions.TagHumanoid(humanoid, player)
	local Creator_Tag = Instance.new("ObjectValue")
	Creator_Tag.Name = "creator"
	Creator_Tag.Value = player
	Debris:AddItem(Creator_Tag, 2)
	Creator_Tag.Parent = humanoid
end

function Functions.UntagHumanoid(humanoid)
	for i, v in pairs(humanoid:GetChildren()) do
		if v:IsA("ObjectValue") and v.Name == "creator" then
			v:Destroy()
		end
	end
end

return Functions
