How can I have a donate board and dev products all in the same game?

  1. What do you want to achieve? Keep it simple and clear!
    I want to be able to have a donation board and dev products all in the same game, because if the donation board is in the game, then whenever I buy other dev products for example a nuke. The script won’t work.

  2. What is the issue? Include screenshots / videos if possible!
    If the donation board is in the game and I try to buy a nuke dev product, the nuke won’t work because the donate board is in the game handling dev products on there. I know why the nuke scrip isn’t working, its because there are 2 scripts handling the dev products, but I tried meshing both scripts into one but it sill doesn’t work.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried YT and Devforum.

You can handle it in your script. Some events cannot be called in more than 1 script.

1 Like

mine can’t be handled in multiple scripts. :frowning:

I mean you can use one script to handle all

I did, i tried, but it still didn’t work after I tried it, btw quick question, for these developer products, do i need to go to my games settings and enable third party sales?

No, but If the dev product creator and the game creator isnt the same you need to enable it. But If you own the dev product you dont need to enable it (If you own the game)

1 Like

I would suggest putting all of your items in a table or inside of a module script to handle it. I have a game with a script that handles up to 20 different purchases. I store all of my id’s inside the definition of certain events stored in a module script. Basically just a dictionary with groups. You could make a donate group and check it with a for i, v in pairs().

2 Likes

ok thanks for telling me that, ill remember that next time

1 Like