I am currently developing an AI restaurant game. I have a GUI for ordering food, and it requires a template folder (Called "Example") to be cloned as different items being ordered. When cloned, it is assigned a name and parented to a frame. Each folder contains 3 object values, named Food, Drink, and Player.
For some reason, it always works the first time, but then fails to work the second time. I have diagnosed that the issue is that the second time around, the ObjectValues disappeared. Why is this? I have already looked through my scripts to ensure that a script didn't accidentally delete these. Any help?

4 comments
At least show your script if you want it to be fixed
Yeah
I have tons of scripts, it isn't a script error, it's just object values randomly disappearing. There are like 10 huge scripts involved.
Then just show us the one that works directly with the objectValue, it couldnt be all 10 of them and each lines