It’s my first time writing to the developers community and I’m using a translator, so it can be a little awkward.
What I want is just like the title
If you have a table like this,
local DATA_TEMPLATE = {
EquippedItems = {
Chestplate = {
IronArmor = {
Stat = {
Defence = 4;
Reinforce = 2;
Enchant = "Blaze"
};
};
};
};
}
I will call this table using instance.new like this
I made this invocation method by looking at the leaderboard
This was the best way I could think of it, but I can’t think of any other better way
You can use something like module script to create a different table to find the stat of the equipment, but I don’t know how to import different values for each item such as the number of reinforcements or enchant
Is there really no other way to create an instance for each key of the table and import it?