Problems with a surfaceGUI

I have had this problem recently, where I try and clone a Template for some leaderboard information and then parent it under a frame thats inside of a SurfaceGUI. The script I have works because I am getting different print statements working. But then when I use this code:
image
It doesn’t work at all. A clone is not made. This is the current layout of the thing that I have:
image
Don’t know why it doesn’t work.

Short Problem

I am unable to clone a template and parent it under a frame using a Server script under a SurfaceGUI in the workspace.

make sure that size and/or position of template is not (-nan) or something. Sometimes I have had frames bug out and do this to make it seem like there is.

Okay, it turns out it was actually because some part in the code was deleting everything so that it would fill in the new stats, and the page that has all the datastores didn’t really have any yet. I am going to fix that but sorry for the inconvenience, have a good day.

I’m just gonna mark this as the solution for now.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.