I want to give everyone on the team Police the shirt 546902184 and the pants 546902372 how would I be able to do this with FilteringEnabled on
✓ ANSWER ACCEPTED
Give everyone on Police team a uniform?
2 answers
✓ Accepted answer
Try this.
workspace.ChildAdded:connect(function(player)
if game.Players:FindFirstChild(player.Name) then
if game.Players[player.Name].TeamColor == BrickColor.new("Bright blue") then
local char = game.Players[player.Name].Character
------------shirt
local shirt = Instance.new("Shirt")
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=546902180"
shirt.Parent = char
------------Pants
local pants = Instance.new("Pants")
pants.Parent = char
pants.PantsTemplate = "http://www.roblox.com/asset/?id=546902370"
end
end
end)
2 comments
0
Change bright blue on line 3 to whatever color your police team is.
0
(He said it works over pm but he doesn't know how to accept the answer apparently.)
You would use a simple server script... set it up so that when the player list changes it checks the players team... and then gives them a police uniform.
There's better ways to get the player btw. I'm just telling you its possible.
If you do it from the server you don't have to worry about Filtering Enabled.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
It's funny looking back on my first questions and seeing how stupid I was.