Sorry For Bad English... so... I'm doing a Spell Creator system. The script create some Values, such as: "SpellType", "Dmg", "Element" etc... but i don't know how to save these values, because the player will be able to create many spells. My first ideia was to create a model and Instantiate some values in it. but i can't save the entire model because DataStoreService does no save models. Anyone have an Idea?
Save Custom Parts Values?
1 answer
u can only save values like strings "names" value numbers and true or false status.
so make the spell and if some one creates it let it clone() to the player and make a bool value that if he comes online and the saved bool value is true then clone the spell to him
i have the same with my tools they did buy in my server, if saved bool value is true then clone tool to backpack
in this case u mush have the spells already ready, but they still need to find out how to create them and with what
1 comment
I understand, but the system I wanted to do would be something like [SpellType] = "Projectile" or "Thunderbolt" [SpellElement] = "Fire" or "Water" or "Earth" [SpellSpeed] = 6 * here the player can choose * [SpellDamage] = 30 * here the player can choose * then when the player finishes creating the spell, simply call a function like "function Projectile(element, speed, damage)". Well, i'll use your
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
else u have to make for ever value of the part a different data store