bin=script.Parent normel="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\055\052\049\057\051\053\048"friendly="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\055\052\049\057\051\054\052"enemy="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\055\052\049\057\051\055\057"function Run(k)k.Icon=normel local K=k.Target if K==nil then return end h=K.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")if h~=nil then torso=K.Parent.Torso if torso~=nil then if h.Health>0 then if torso.BrickColor==bin.Parent.Torso.BrickColor then k.Icon=friendly elseif torso.BrickColor~=bin.Parent.Torso.BrickColor then k.Icon=enemy end end end end end function on(k)while true do wait()Run(k)end end script.Parent.Equipped:connect(on)
--Green for Friendly, and Red for foe's. Kind of like the type Pinkyblt and Griff27 uses in thier games.

bin = script.Parent
normel = "http://www.roblox.com/asset/?id=7419350"
friendly = "http://www.roblox.com/asset/?id=7419364"
enemy = "http://www.roblox.com/asset/?id=7419379"
function Run(mouse)
	mouse.Icon = normel
	local hit = mouse.Target
	if hit == nil then
		return
	end
	h = hit.Parent:FindFirstChild("Humanoid")
	if h ~= nil then
		torso = hit.Parent.Torso
		if torso ~= nil then
			if h.Health > 0 then
				if torso.BrickColor == bin.Parent.Torso.BrickColor then
					mouse.Icon = friendly
				elseif torso.BrickColor ~= bin.Parent.Torso.BrickColor then
					mouse.Icon = enemy
				end
			end
		end
	end
end

function on(mouse)
	while true do
		wait()
		Run(mouse)
	end
end

script.Parent.Equipped:connect(on)
