Advertisement
CDuckdk

Team Cloth

Feb 9th, 2019
554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(player)
  2. player.CharacterAdded:Connect(function(character)
  3. if player.Team == game.Teams.Police then
  4. character:WaitForChild("Shirt").ShirtTemplate = "rbxassetid://2001615463"
  5. character:WaitForChild("Pants").PantsTemplate = "rbxassetid://2001615463"
  6. elseif player.Team == game.Teams.Prisoner then
  7. character:WaitForChild("Shirt").ShirtTemplate = "rbxassetid://788431454"
  8. character:WaitForChild("Pants").PantsTemplate = "rbxassetid://1874139937"
  9. else
  10. -- Load player's default shirt and pants.
  11. end
  12. end)
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement