How to make a MPS that a player can upgrade?

For the block code

If money amount >= required: broadcast on channel “buysuccess”

Do you put money amount or a specific amount of money
Sorry I was gone for so long!

2 Likes

:rofl: let’s stay on topic
OHH ok so sorry about that! There as been quite a lot of off-topic funnies happening lately

2 Likes

wrong picture sorry about that.

I had a picture of something in gimkit creative but I clicked on the wrong file.

2 Likes

See if my solved topic can help.

I was making a clicker game with cash per second (same as money per second), maybe looking at its solution can help?

Also maybe this can help?

5 Likes

@potato123 I don’t understand some of it

Can you tell me what you don’t understand?

1 Like
For the block code

If money amount >= required: broadcast on channel “buysuccess”

Do you put money amount or a specific amount of money?

It’s your money amount, it should be in a property

1 Like

(deleted by author sorry)

Actually, it might be easier to use just a property for your money amounts, and instead of using an item granter, use a trigger with block code that removes some amount of “money” (subtract from the property)

1 Like

is this the block code for the trigger?

Sort of, you need the [0] to be the amount of money required to upgrade (it should be in another property, increase it every time you buy the upgrade)

2 Likes

ok thanks

It didn’t work for me when I tried right now (sorry for disturbing a lot I just can’t get it to work).

Sorry but I might need pictures.

This triggers on channel “buy” (the one that the vending machine broadcasts on)


Vending machine settings:

3 Likes

What is the property “Money amounts setting”?

1 Like

@potato123 I also have another MPS system that just gives the money and you cant upgrade it do I delete it? What do I do with it?

You can modify it to increase the money amount property instead of giving the player money

1 Like

It has a item granter. Do I make the item granter stop granting? Or multi how much it makes?