Uxers
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 1478 |
|
|
| 02 Dec 2015 10:19 PM |
Just started making games, And I want to make my own clothing for my game. I have the clothing done, but where do I make it so that I put the id for the clothes and thats what everyone wears...?
|
|
|
| Report Abuse |
|
|
| 03 Dec 2015 04:19 AM |
so first you need to know how to get an asset ID. After you've gone to the Developer tab and uploaded the clothes, go to the clothes' market page and find the itemid in the URL. The asset ID is the ItemID - 1, so if you had an item id of 123456 then your asset ID would be 123455, or in the case of 567890 it would be 567889
then what you would do, is in your game have a script that goes something like
player = game.Players.PlayerAdded:connect(function(clothes) player.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=[asset ID for shirt]" player.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=[asset ID for pants]"
end)
or something like that |
|
|
| Report Abuse |
|