#My custom shop doesent let me buy from it even though I have enough money.
1 messages · Page 1 of 1 (latest)
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)
Can anybody help?
what is darkcoin and current cost
Darkcoin is the currency and Current Cost is the price
@slim relic There should be an option 'or' under the 'and' where Rocket highlighted in this. use or.
Although that section may be unnecessary.
And for the part Rocket highlighted in this, make it 'Set coins = coins - current cost
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...
I used this guy tutorial and he said that section is so that people cant have free items
Like this?
It doesent work
@livid summit
<@&1050648858243379231>
because when you choose an item, the variable "Current Cost" is changed to the value you have set which is 100
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
@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
show me the script
Exactly the same
what is the script supposed to do
Its so that if the person have enough "Darkcoins" they can buy the item and if they dont have enough they cant but it
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
So i just do this on all the items?
@cold minnow