Local script not working

I have made a donation system where it clones a surfacegui and sets its adornee to the stand thing. When the players gamepasses loads there is a local script which checks if the button is clicked inside of the button in the surface gui however nothing is happening when i click it. Please could you help me! Thanks


Where is your local script located (Its parent. I see you said about the gui, but where is the gui if you adornee it), and in what Service. Is it in a container where local scripts can run?

Edit: Also if I could have the script that would be nice


dont worry I think ive found some solution thanks for your help!

1 Like

Then make sure to mark a post a solution just so people don’t comment/Read this post that already has a solution!

1 Like

You might have to use a server script for surface gui’s… not sure though.

1 Like

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