Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i save outfits when a player leaves from a game?

Asked by 2 years ago

Everyone wants to dress up their avatars and save it until leaves for don't lose their outfits in every realm, So i wanted to save my outfits in an avatar editor that i just found in a game, But i don't know what script do for save an outfits / progress for my game "Mermaid High"

Here's the link to the photo (Need to log in on Disc) https://bit.ly/3PtRhCN

Can you guys help me?

1 answer

Log in to vote
0
Answered by
xXMadonXx 190
2 years ago

Script something like this maybe? (I am not going to open the discord images. Please reupload them outside of Discord if this answer is not what you anticipated)

for i,v in pairs(char:GetChildren()) do
    if v:IsA("Clothing") then
        --Saving stuff code
    end
end
0
It's a local or normal script? and where will be? Queen1234_XD -26 — 2y
0
because you are going to need to use DataStores it is a normal script. This for loop goes into the function for the save Button for the Outfit xXMadonXx 190 — 2y
0
So i'll be on the Server Script Service or just in Terrain? Queen1234_XD -26 — 2y
Ad

Answer this question