Hello, everyone. I’ve been actively posting on the forum for a few days now and I think that might annoy some people because my questions aren’t that “interesting” but I need your help.
I would like to code a GUI avatar editor system that can add and remove:
-Hats
-Heads
-Faces
-Clothes
-CustomCharacters ( example Man, or Boy ).
Once the player has finished editing his avatar, the avatar (a startercharacter) must be reused in other places in my game (I hope to be understandable. Example: RetroStudio).
Now here’s how I would like to organize it all:
Put hats, clothes, faces etc in folders in ReplicatedStorage or ServerStorage. Then a script clones them and puts it in the StarterCharacter.
For the “CustomCharacters”, put them also in a folder. When selected by the player, the old statercharacter is put back into the folder and the new one is cloned to be put into StarterPlayer and in turn serve as StarterCharacter.
I hope I have been clear and understandable despite my very poor English. Don’t hesitate to correct my ideas.
These work in the 3D world, but can easily be added into Gui elements!
You can, there are sources. I found this post that has a script. I’m not sure if it works, because I haven’t had to deal with r15 / r6 changes.
You will want to learn how to use datastores and store this information on the characters appearance, and then load it on request. There are many videos, roblox docs, and other sources on roblox datastores and how to save data!