I need some help please!

So basically, I have a game with a skip stage and a nuke gui (so you can buy a dev product and nuke the server).

However for some reason only one of the scripts will work and it keeps changing (basically if the nuke is working then the skip stage breaks but if the skip stage is working then nuke stops working).

Help’s appreciated!

It would be more helpful if we had a screenshot of the output or at least parts of said scripts to assist you with this issue.

Alright let me take some screenshots.

Here is the script that activates the nuke.
Screen Shot 2020-08-06 at 8.50.34 PM

Here is the script that skips your stage.

It doesn’t seem like anything actually happens, could I take a look at the other script?

Which one? There are a few.
(30 chars)

How are you testing to see if they work? What is the difference between times one works vs the other?

When i’m in studio, it normally varies every 3 tests.
I have no idea why.

It seems like you are showing me the functions without the function [function name] () line. Also you should make those variables at the top. I don’t think anything is wrong here. If these are parts of the module you should make sure that they are being required and called correctly and I still don’t know if you are able to assign a new function to the value Mps.ProcessReceipt.

1 Like

Hmm okay.
Thanks. I’ll take a look.