Hey! Sorry if im in the wrong category i’m honestly not sure how this all works, i know that scripting is involved tho!
We all know the game royale high. Players are able to equip different clothes/shoes/accessories.
How does that work? Would you need to first weld for example, hair to a head? Shirt to a torso? Then would the scripting be involved on actually making it so the player can equip these parts? I’m thinking the scripting involves actually changing the body parts with the clothes welded onto it as opposed to the actual clothes changing? I could be very wrong.
I’m super confused as to how this all works and would love some help! Thank you.
Also Roblox’s humanoids have an AddAccessory function that adds an accessory to a player.
It must also be an Accessory Object Class. To get an accessory you can use an accessory inserter plugin.
To add a custom accessory you need to weld it like this:
local Weld = Instance.new("Weld")
Weld.Part0 = Body Part -- Replace body part with the body part of player
Weld.Part1 = Object -- Replace object with the object that you want to add to the player