Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:connect(function(player)
- player.Chatted:connect(function(message)
- local assetId = message:match("id=(%d+)")
- if assetId then
- local model = game:GetService("InsertService"):LoadAsset(assetId)
- for _, child in pairs(model:GetChildren()) do
- player:LoadCharacterAppearance(child)
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement