#My custom shop doesent let me buy from it even though I have enough money.

1 messages · Page 1 of 1 (latest)

slim relic
#

I playtested my game and when i wanted to buy something from my custom shop, it would play the "You dont have enough money" dialogue even when i have enough.

#

The top is my money and price is the price.

#

Scripts for the item and the buy button. Can you see what i did wrong? (Darkcoins is money btw)

slim relic
#

Can anybody help?

tulip jewel
#

what is darkcoin and current cost

slim relic
tulip jewel
#

what is this for?

#

set text=

#

?

livid summit
#

Although that section may be unnecessary.

livid summit
slim relic
# tulip jewel what is this for?
Geo

In this video I teach you how to create a shop with custom currency in Julian's Editor. Features include custom currency, interactive shop, and many GUI features.

Download Julian's Editor: https://linktr.ee/julianseditor
Follow me on Julian's Editor: Purple
Music Credit
https://youtu.be/1zmJ_4kGYUU
https://youtu.be/sBJ2bUIVcwI
https://youtu.be...

▶ Play video
#

I used this guy tutorial and he said that section is so that people cant have free items

tulip jewel
#

<@&1050648858243379231>

cold minnow
#

so

#

the Current Cost = 0

#

you need to remove it

#

or make it Current Cost ≠ 0

cold minnow
#

but the script you made

#

when you click buy it checked if the Current Cost = 0 then it will buy

#

so thats it

#

Just change the "=" of the "Current Cost = 0" into a "≠"

#

@slim relic does this works

slim relic
#

@cold minnow it works but i encounter another problem 😅

#

I want to sell more than one items in the shop but when i make another script similar to the original one and clicked buy, i bought all the items in the shop

cold minnow
#

show me the script

slim relic
#

Exactly the same

cold minnow
#

what is the script supposed to do

slim relic
#

Its so that if the person have enough "Darkcoins" they can buy the item and if they dont have enough they cant but it

cold minnow
#

then

#

Remove Current Cost ≠ 0

#

because

#

the condition

#

need to be both of the requirements to be false

#

but if you dont have enough moneys to buy

#

its false

#

but

#

how about the other requirement

#

it still be true because the current cost is not 0

#

it also needs to be false to show the other dialogue

#

so

#

you have to remove the Current Cost ≠ 0 since its innecessary

slim relic
#

So i just do this on all the items?

slim relic
#

@cold minnow