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?