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 » Scripters
Home Search
 

Re: How do i put hats on the character

Previous Thread :: Next Thread 
brickmaster2039 is not online. brickmaster2039
Joined: 11 Feb 2017
Total Posts: 403
17 May 2017 09:33 AM
I may pay ### robux. (Thats all i have and tell me how to donate as well pls)

Please tell me, if you dont know, then dont post. DONT REDIRECT ME TO WIKI BECAUSE UR BEING USELESS.
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
17 May 2017 09:34 AM
The wiki is an amazing source of information, learn to use it. ######################################################################
Report Abuse
Frqsh is not online. Frqsh
Joined: 02 Jan 2014
Total Posts: 10
17 May 2017 09:35 AM
Try using welds
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
17 May 2017 09:35 AM
wiki.roblox.com/index.php?title=API:Class/Humanoid/AddAccessory
Report Abuse
CelluloidCats is not online. CelluloidCats
Joined: 11 Aug 2015
Total Posts: 841
17 May 2017 09:35 AM
"don't redirect me to a site set up to inform people of how things should be done." k mate. ### Humanoid:AddAccessory(accessory)
Report Abuse
brickmaster2039 is not online. brickmaster2039
Joined: 11 Feb 2017
Total Posts: 403
17 May 2017 09:37 AM
Can u at least tell me how the function works. Is the accessory supposed to be the model and stuff? Like Humanoid:AddAccessory(script.Parent.Accessory) or something else.
Report Abuse
iSentinels is not online. iSentinels
Joined: 03 Jan 2009
Total Posts: 28706
17 May 2017 09:38 AM
Is AddAccessory or using the InsertService a better way to do it?


r+://718058112r+://718058837
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
17 May 2017 09:39 AM
The AddAccessory function expects an accessory object to be passed. Here's the amazing wiki link for accessories:

wiki.roblox.com/index.php?title=API:Class/Accessory

It should explain how hats (nowadays called accessories) work.
Report Abuse
iSentinels is not online. iSentinels
Joined: 03 Jan 2009
Total Posts: 28706
17 May 2017 09:39 AM
I'm adding hats to the character with InsertService but I didn't know there was an AddAccessory api


r+://718058112r+://718058837
Report Abuse
brickmaster2039 is not online. brickmaster2039
Joined: 11 Feb 2017
Total Posts: 403
17 May 2017 09:41 AM
So can the hat (Before adding to player) be in a service like lighting.
Report Abuse
CelluloidCats is not online. CelluloidCats
Joined: 11 Aug 2015
Total Posts: 841
17 May 2017 09:42 AM
I'd use ReplicatedStorage or ServerStorage but ye I think you can stick it wherever you want


Report Abuse
brickmaster2039 is not online. brickmaster2039
Joined: 11 Feb 2017
Total Posts: 403
17 May 2017 09:43 AM
thx ima try it
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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