Hi so I’m currently trying to make a system where I can simply just save and store a players original outfit from their avatar and load it in whenever I need to.
I checked on the API and it talks about using Humanoid:GetAppliedDescription to get the player’s current outfit but I can’t find ANY examples on how to use this, save it and load it back into the character.
In other terms, if I can get the players outfit and save it, whenever I change the players avatar (like for example turn them all pink and remove their clothes and add a hat) I can at any time, change it back to their default outfit.
I hope I explained it well, any help is appreciated!
i would just watch a youtube video. theres multiple ones on datastores, or just straight up watch a video on character customization. i dont feel like explain datastores there alot into them sorry.
Also you could use this function I made based off of Jelleys Idea:
Make sure API services are on.
local datastoreservice = game:GetService("DataStoreService")
local storeCharacter = datastoreservice:GetDataStore("CharacterLook")
function store(clotheID, pantsID, key)
local data = {clotheID, pantsID}
local success, errormessage = pcall(function()
storeCharacter:SetAsync(key, data)
end)
end