On purchase animation (the animation plays locally, it means that only the player who purchased can see the animation) - optional
Discord notifier when a purchase is completed - optional (not working anymore since Discord is blocking HTTP requests coming from Roblox.)
Model:
Game (you can test it here):
Setup
Get the model.
Put MannequinServer somewhere in ServerScriptService and MannequinClient somewhere in StarterPlayerScripts.
Now, feel free to place the mannequins wherever you want, their parents don’t really matter (you can also duplicate them).
Great! It’s time to set the clothing id. You can find ShirtId and PantsId inside the Configuration folder, which is inside the mannequin model. Important: it must be the ASSET ID, not the template id!
Optional
Let’s start with the Purchase Animation (that plays on the mannequin whenever the player purchases the clothing), which you can find inside the Configuration folder. If you don’t want it, leave the AnimationId empty or delete the animation object.
Not working anymore Next, the discord webhook! Open the script MannequinServer that was previously parented to ServerScriptService. Find a variable called WEBHOOK_URL and put your webhook url. Remember to enable HTTP requests! If you don’t want the discord notifier, leave this variable as an empty string or remove it from de code.
Feel free to change the hit box color! There’s a folder called “HitBoxes” inside each mannequin. Both parts, Shirt and Pants, are those that show up when you hover the clothing. So just change their color for what you prefer. (The hit box transparency when you hover it is 0.75)
For the mannequin character customization, you can delete/change its face, change the Body Colors etc.
I hope this helps. This is my first #resources:community-resources, so if there’s something wrong, reply to this topic! Please let me know if you have any suggestions or find any bugs! I would also like to say that my English is not so good, sorry for any mistake! Well, thank you so much for reading and have a fantastic week!
This looks very well designed and I like the many features it has!
Just a quick question, is there a radius or a time limit before the shirt you tried on is gone? For example, if I try on a green shirt and don’t buy it, will I be able to keep wearing it?
I don’t think changing it to asset name is a good approach. Asset IDs are not changeable and are unique, while names can be changed and can be commonly used.
This is really really cool. I don’t really purchase clothes but I do visit homesteads to view the builds themselves and I noticed a lot of the mannequins were awkward to use/interact with. This is really really clean and intuitive. The animation and the discord functionality are also just really awesome bonus touches. A really solid resource, thank you for sharing
The player’s idle animation is already playing. I don’t know if it’s not so visible in the video, but my character is playing the cartoon idle animation