#Parenting shop frame to folder destroys it

1 messages · Page 1 of 1 (latest)

tardy tartan
#

Im making a shop and when you click a button to enter a catgeory it calls Shop:ShowCategory which in turn calls Shop:DisableFrame for each category frame that isn't the one you clicked on , when it does this it parents it to self.disabled which is a folder inside the gui.

Problem is every time i call disabled the frame disappears and doesnt parent itself to the folder, i don't know if its even being parented because the disabled folder is empty.

#

I dont know where its going but I cant bring the frames back

#

when i print the frames.Parent that got disabled its nil

#

printing self.disabled is also nil which is odd since the folder is there

#

ok so now its also happening with self.templates