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

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
