Basically what iv'e been trying to do is make a system where I use a datastore to store a players pets with a table. The way iv'e tried this is with a table. The issue that i'm hitting with this, however is with how I can load the pets.
With my current knowledge the only way I can do this would be a very long if then statement like the following:
if pet.ID == 1 then
"blah blah loading stuff"
else if pet.ID == 2 then
"more loading stuff"
This would obviously be long, and a real pain to work with if I have a lot of different kind of pets, and would take way to long to script. I don't know how else I could pull this off.
Anybody know what I could do?
