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

On Team Tool Remover?

When a player joins the game and they are on a certain team all of their tools get removed.

Thank you.

1 answer

✓ Accepted answer
TeamChoices = {"Gray","Red"} -- Just put the color of the team exactly

 game.Players.PlayerAdded:connect(function(plr)
plr.TeamColor = TeamChoices[math.Random(1,TeamColor)]
a = plr:WaitForDataReady("Backpack"):GetChildren
for i = 1,#a do
a[i]:Destroy()
end




end)

As you can see # means number of, the rest seems self explanatory.

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