Advertisement
metilol

Untitled

Jun 17th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. game.Players.PlayerAdded:connect(function(player)
  2. player.Chatted:connect(function(message)
  3. local assetId = message:match("id=(%d+)")
  4. if assetId then
  5. local model = game:GetService("InsertService"):LoadAsset(assetId)
  6. for _, child in pairs(model:GetChildren()) do
  7. player:LoadCharacterAppearance(child)
  8. end
  9. end
  10. end)
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement