Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How To Make Team Only Tools?

How would I make a script that only gives tools to a certain team?

2 answers

function tele()
wait()
	c=game.Players:GetChildren()
	for i=1, #c do
		team = c[i].TeamColor
				
        	if team == BrickColor.new("Bright red") then
				--List path to tool and clone()--
		end
		if team == BrickColor.new("Bright blue") then
				--List path to tool and clone()--
		end
		
	end
end

This discussion is preserved as it was. New answers, comments, and votes are closed.