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

How do you save colors and load them?

Asked by 9 years ago

Recently, i tried using DataStore for saving my morphs, and since they mostly rely on colour, the player morphs into the model as it loads the colors onto the morph.

This is what i did.:

01local DataStore = game:GetService("DataStoreService"):GetDataStore("NicuWolfSlot1")
02local player = script.Parent.Parent
03 
04 
05local Colors = {"Institutional white","Really black","Reddish brown","Dark stone grey","Dark orange","Black",
06    "Brick yellow","Nougat","Cool yellow","Bright yellow","Pastel yellow",
07    "Medium stone grey","Mid gray"
08    }
09 
10local colorstosave = {
11    player.Chest.Body.BrickColor,
12player.Chest.Chest.BrickColor,
13player.Chest.Neck.BrickColor,
14player.Chest.Tail1.BrickColor,
15}
View all 32 lines...
0
What is chest? Do you mean "Torso"? FiredDusk 1466 — 9y
0
No, Chest is a model within the Player CrammelApple 50 — 9y

Answer this question