generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

How do I make custom clothing for my game?

Previous Thread :: Next Thread 
Uxers is not online. 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
TimberWolffe is not online. TimberWolffe
Joined: 22 Apr 2011
Total Posts: 6338
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image