How to Make an NPC Shop in Minecraft *Bedrock*
In this video I will be showing how to create a NPC SHOP that you are able to make custom shop items to sell or buy with an NPC! Use this in your minecraft bedrock world! if you have any tutorial suggestions or questions feel free to share them in the comments! :))
Пікірлер: 353
This was so helpful thank you so much!
@gabedala
9 ай бұрын
You're so welcome!
This fix my problem with making shops huge just to buy/sell lot of items. Now I can have the shop blocks in a tick area instead of making a big shop with command blocks hidden in it.
Thanks for the tutorial man i was looking for way to make ths without addons
Bro thank you so much! I was literally check tutorial like this for some months!
@gabedala
10 ай бұрын
Glad I could help!!
@djrock6723
10 ай бұрын
@@gabedala yeah bro really appreciate it!
Thank you so much my friend 👍
This is an excellent explanation of a way to do NPC shops. However, one big problem note is this executes on the person nearest the command, which may *not* be the person interacting with the NPC. If you are interacting with the NPC and I see that, I can troll you by clicking "buy item" and it will force the person nearest the command block (you) to do the transaction. There are some ways to problem solve this but what's best sort of depends on a case by case basis, but basically rely on restricting NPC interactions to one player at a time. The one I use is having 1 player step on a block that teleports them to a specific spot in front of the NPC where the 1 player and the NPC are encased in barrier blocks. Then if another player attempts to step on the block you can do a check to see if a player is already "in front of the register" and not allow them in until the previous player is done. A great advantage here is I can create a structure block with a custom item in it, save it, and when the player buys it you can load the structure block right above them and the custom item will land on them. Having designated areas for players to stand in also has another cool possibility, which is to have a Venmo type area where a player stands on the "sending" and "receiving" blocks, and using the NPC and command blocks to set the scoreboard and give each other money. I'm trying to figure out a way to do "safe" bartering between players using NPCs, where you have 10 diamonds and I have 100 "cash points" and we can somehow trade without the other person getting screwed, but I can't figure out how to do it without having a button for every possible trade combination, which means no custom trades (which sort of defeats the point). Love the design you have; it's super efficient.
@ngocnguyenminh7109
6 ай бұрын
why not use *@initiator* ?
@mastersymmetry2774
4 ай бұрын
All of this is unnecessary. Using the @initiator will work perfectly fine if combined with @s or @p. Note that @initiator will ONLY work for NPCS. Not command block or chat. :)
@TankeePro-ir1fk
Ай бұрын
@initiator, Right.
Thanks ❤
@gabedala
Ай бұрын
You're welcome 😊
You can put multiple command in a single npc button command like this /give @p /scoreboard players remove @p Token
Bro this is by far the best tutorial ever u need so much more hype😢!!! I followed step by step and it works perfectly!!!
@gabedala
Жыл бұрын
Thank you! I do my best to make my tutorials short sweet and simple. Plan to upload a lot more this next month!
Honestly some of ur vids worked and some did for me so… what version u doin all these tutorials on? Java or bedrock?
@gabedala
Ай бұрын
Bedrock Edition
@Eze.GameStar
Ай бұрын
Oh well thanks and btw can u pls make a kill shop and a kill board tutorial, I’m actually making an smp and taking ideas from u 😅
Nice video
Is it possible to make the shop tied to an item? Like if you hold an emerald it takes you to the shop no matter where you are.
@Smiling_RBLX
9 ай бұрын
Yes. You can use a item holding selector so when you hold an emerald it will tp that player
Hi so I’m trying to make one like this for a skygen and my problem is I do not know how to make it so a certain player is tested cleared and given an item so I would like help with that
It works but how can I see how much money I have? Edit: nvm I watched your other videos and it managed to help me, thank you so much!
Ur the best
@gabedala
3 ай бұрын
No you are!
You should make a video on how to put the limit. For example, if you have 0 points, you can’t buy anything. Im making a NPC selling place that if i give 64 wool, it gives me 50 points. But even though I don’t have 64 wool, it still gives me the points.
@arianation8994
2 ай бұрын
aggred
@TankeePro-ir1fk
Ай бұрын
I know…
For those who dont know how to do the /scoreboard cmd First Type /scoreboard objectives add [whatever you want] dummy Then Type /scoreboard objectives setdisplay sidebar [whatever you want] Then type /scoreboard players add @a / @s [whatever you want] [whatever number you want]
@yukamina369
9 ай бұрын
i type /scoreboard objectives add Money then i get a error. ": at " add Money>>
@Avozl
6 ай бұрын
Thanks you so much, This really helped me :D
@Avozl
6 ай бұрын
@@yukamina369 its "/scoreboard objectives add Money dummy" You forgot to add the "dummy" at the end
um it wont work for me, i dont know how to do the point system, like how to have points in the first place
Hey, could you make one that takes away items, or is it the same for this but replace the coins with items?
@gabedala
10 ай бұрын
Pretty much that, I will make a tutorial on that though!
@Home_alone2
10 ай бұрын
@@gabedala thank you
IS THERE A SELL VERSION?
Now bedwars is amazing for me
Is there a way to make it to where it would take an item (such as rotten flesh, bones, etc) instead of using scoreboard commands?
@joemama5131
10 ай бұрын
give me a few minutes
@joemama5131
10 ай бұрын
so first you want a repeating command block then you want to have it as redstone only then you put Setblock ~~1~ stone. the next thing you do is put another command block down make sure its chain, and conditional always active, then you type clear @p rotten flesh 1, you could change the item with what ever, same thing with the number. then you follow the steps in the video just change those things few things, oh and also find the block on top of the first one, not next to it.
@gabedala
10 ай бұрын
Yes easy!
hey how to i want to people to give the shop 5 soemthing and get the coins instead of getting rid of them ????
So in the GIVEITEM block do I put the item like this "husk_spawn_egg" or just Husk Egg? It didn't give the egg even though I did it all.
@gabedala
3 ай бұрын
I’m not sure the correct way for the husk spawn egg. Each item is kinda different. But husk_spawn_egg should work
@ADesertHat
3 ай бұрын
@@gabedala Thanks.
Hey there how would allow the currency to be dropped by mobs etc for an adventure map to act as loot I would prefer emeralds?
@gabedala
4 ай бұрын
Yes there is a way! Just a lot of commands
@Mr_Weekend
3 ай бұрын
@@gabedala do you know where to find?
Should it work wherever the NPC is? Or is there a range
@gabedala
Жыл бұрын
Infinite range but it’s better if it’s right under the shop. Command blocks need to be close to the player activating it
Does this work in modded? Like if i add a mod of extra weapons, this will work?
@gabedala
7 ай бұрын
Yes this should work with add ons as well!
Is there a way to do this with enchanted and named items? I really need to find out for an adventure map im working on
@gabedala
11 ай бұрын
No such thing as enchanted or named items, bedrock is so limited to certain commands unfortunately
@T.O.L.D
11 ай бұрын
@@gabedala ah thank you, I thought so but I wanted somebody to confirm it for me, I'll have to figure something else out
@Kingglollol
11 ай бұрын
You can use structure load
@aluki575
10 ай бұрын
You could have it instead of giving you the item, place a barrel on a location using the clone command with your item in it, then follow it up with another command that sets that block to air using the command (setblock (coords) air 0 destroy) and a repeating command block killing all barrels.
@mastersymmetry2774
4 ай бұрын
@@T.O.L.Dyes you could potentially just load a chest using a structure block in which you will set it to air destroy where the block breaks and drops the enchanted item. This also works with just structure blocking a item saved but I’m not sure if they patched that yet
When i try the results thingy says "No objective was found by the name 'Cash' "
@gabedala
Жыл бұрын
That means you need to create an objective. With /scoreboard objective add. Then you can name it whatever you want
@TheDuckLord289
Жыл бұрын
@@gabedala Oh thanks
@hazikidskids3426
10 ай бұрын
😅thanks too
@zander0864
7 ай бұрын
Thanks 3 😂😂😂😂😂
@MicahKok-lc6gx
6 ай бұрын
Thanks 4
I only have 1 questions. Is it possible to make it so i dont need money to buy the item and i need a material for example like iron ingot?
@gabedala
9 ай бұрын
Yes it’s possible!
@Mr_Weekend
3 ай бұрын
@gabedala this too if you get this notification where do you find these?
Im confuesd by the score test because it still gives me a item even if i dont have the funds avaliable
Is it possible to have shop keepers sell custom armour. For instance, i would like my keeper to sell an armour with a trim and a custom name. Would that be possible?
@gabedala
4 ай бұрын
Hmm, I’m not entirely sure tbh. I will look into it though!
@gamedy2k
4 ай бұрын
Yes it is possible by saving the custom item/armor in a structure then load in the structure on the player when you need to give it to them. So you basically save the custom item as a structure using a structure block, then you can use this command inside an npc: execute at @p run /structure load NAME ~~1~ 0_degrees none true false , and it should give them the custom item. Put the name of your saved structure where it says NAME in the command. I will have a video on this in a couple of days on my channel...I currently have this one kzread.info/dash/bejne/iZ-fxc-YoJqalqw.htmlsi=1l666Mh3MrHJ0h0G which is a basic shop setup with an npc that is super easy...no command blocks..just a few commands.
@Kyle_Hanson
4 ай бұрын
@@gamedy2k thanks
Hi is there a way to buy costum items like a name_tag...because i use name tags as keys for my redstone hotel?🙏
@gabedala
10 ай бұрын
Hmm, idk if you could buy custom named items. Unfortunately bedrock can only do so much. I can look into it too!
It’s all working but not giving me the items, and there’s no previous output on the chain command blocks, what’s going on? Please respond to me.
@gabedala
11 күн бұрын
Double check your command blocks and their settings and the text you wrote
So I noticed that although I was at 0 coins in my world I could still buy the items, resulting in me going into the negatives. How do I stop players from being able to purchase with insufficient funds???
@gabedala
Жыл бұрын
Check the command blocks again, there’s a reason why the first block is a testfor to make sure the player has enough money
@iGramps
Жыл бұрын
I got it! I overlooked setting all of my chain command blocks to conditional 🤦🏼♂️ they’ve been at unconditional which seemed to have caused that. Thanks bro! You should upload some more server related command block content.
@iGramps
Жыл бұрын
One last question. Is there a command that can be set which would disable PvP within spawn as well as get rid of hunger? I’ve looked around and have had no luck :(
@gabedala
Жыл бұрын
@@iGramps I wish!! I want to add a pvp area to my realm but bedrock is only so limited 🥲
@IanMCgaming
Жыл бұрын
@@iGramps effect saturation and weakness
What about the case when someone who doesn't interact with the npc is in closest range and will be deleted a certain amount of score for nothing?
@gabedala
9 ай бұрын
At that point, you can make it so that the player has to be in a certain area to purchase it. But even then if there’s two players on top of each other it might bug out. Just how bedrock is.
@aella28
8 ай бұрын
I havent quite watched all of the video yet but when you start off the command do [r=initiator] after the /give or whatever. It only works on npc’s but it means only the person who initiated the transaction will get it
Can you use custom items with data like enchantments and names?
@gabedala
10 ай бұрын
Yes but not with command blocks
@slyom5465
6 ай бұрын
@@gabedala how i wan tt oknow please
is there a way to make it so that (1) the money goes into my scoreboard from the player who buys from the shop and (2) actually have to stock the shop instead of things being poofed into the game
@gabedala
8 ай бұрын
Hmm not sure
@frogeyjuice
4 ай бұрын
There would be a way to do the first question by adding a command at the end of each successful transaction that adds money to your scoreboard, and for the second question you would need to stock chests that funnel into a dispenser, with a command block that dispenses an item when it is bought, and use structure blocks to detect when the dispenser is empty and trigger another command block to stop transactions
Its not giving me the item i chose and isn’t doing the sound how do i fix that
Does this still give you the item if you don't have the score?
@gabedala
5 ай бұрын
No! It should not give you the item if you don’t have the score amount
@omegaturkeyomega6048
5 ай бұрын
@@gabedala i actually tried it out, and it worked correctly
Can you make a tutorial where its the smae thing but with items like emeralds or diamonds? Please?
@gabedala
5 ай бұрын
All you need to do is change the item name to emerald / diamond
Can you make a video for a npc shop with no common block
@gabedala
4 ай бұрын
They only work with command blocks
@gamedy2k
4 ай бұрын
Here's a video for an npc shop with no command blocks. kzread.info/dash/bejne/iZ-fxc-YoJqalqw.htmlsi=1l666Mh3MrHJ0h0G
How i make it? Its says i cant find this objective... what i have to do i got it in chat /scoreboard players add @p emerald 10 and its not work HELP ME?
@gabedala
4 ай бұрын
That’s not even the right command…
Can I make him trade the things I want with diamonds and stuff? Like I don't want the money thing , is that possible?? Like I want to make a bank , so for example I will give the NPC 1 Diamond it will give me 10 Iron back ...etc . Is that possible???
@gabedala
Жыл бұрын
Yes! I’m working on a tutorial for that!
@mustafayounis4055
Жыл бұрын
@@gabedala Thank you so much 🤍🔥 , I'll be waiting for it, I hope it will be published soon...
I was buying something with my friend nearby and he got all the stuff i purchased, how do i fix this?
@gabedala
10 ай бұрын
You can make it so the command block works if you’re standing in a certain spot
@mastersymmetry2774
4 ай бұрын
By using the @initiator filter within the npc instead of @p or @s, it will eliminate this issue. Hope this helps!
What if the item I receive is part of an Addon? I have a sandwich that I’m trying to purchase but it only takes away my money and not give me anything
@gabedala
2 ай бұрын
You’d need to figure out the add-on item ID
Question, how do I make it so that when I click a dialogue option they will say something new?
@Mr_Weekend
3 ай бұрын
Have you tried cloaning another with the clone command? Like having one kept away where the player can't see
wait how did you do iron ingots?! 've been trying to figure out what i type to use iron ingots since "Iron_ingot" didn't work
@gabedala
4 ай бұрын
I believe iron_ingot should work
@gamedy2k
4 ай бұрын
His method was a little glitchy and complex for me. I had a lot of problems getting it to work. I have now developed my own method which uses no command blocks...everything is done inside the npc and it's only a few commands. Check it out if you want to see an easier way to make a buy/sell shop. My example uses emeralds as currency but I show how to change everything to make it a custom shop like you want. kzread.info/dash/bejne/iZ-fxc-YoJqalqw.htmlsi=1l666Mh3MrHJ0h0G
can u make a vid showing how you would add more items to the shop pls
@gabedala
10 ай бұрын
Yeah! I was planning on making a whole new video about it!
@user-uz8pb5pg7p
10 ай бұрын
@@gabedala ty so much bro me and my friend making a server and really need this asap ur amazing bro
Hello i need help when the redstone block appears the first on which is air doesn’t work and then the second command block also doesn’t work please help me
@F-A-257
7 ай бұрын
And i also checked the commands
Do I need to put underscore for iron Ingot
@gabedala
11 ай бұрын
Yes!
Can u make a video about player trade system
@gabedala
11 күн бұрын
Can you elaborate on this
@t5live487
11 күн бұрын
@@gabedala like it pop up a request and say. (player) wants trade with u and do u accept or decline. When u press accept it pops a grid and ur inventory and maybe a chat beside it
@gabedala
11 күн бұрын
You would need an add-on to do that. No command blocks would be allowed to that
@t5live487
10 күн бұрын
@@gabedala i try to but it doesn’t work
Pls how to another items in comand, efficiency 1 2 3 4 or 5 plsss
i want to know how to change the sizse of the buttons to make it look like eggwars/bedwars/cakewars's shop
@sikonikoniyt8930
21 сағат бұрын
You need to make add ons/texture pack
If I want them to pay with gems or diamonds, how would I put it in the command?
@gabedala
5 ай бұрын
Just replace the items I have in the video with diamond and the amount
@gamedy2k
4 ай бұрын
I like this method much better. All those command blocks are not necessary. Check this EASY method out...I think his method is too complex kzread.info/dash/bejne/iZ-fxc-YoJqalqw.htmlsi=1l666Mh3MrHJ0h0G
It keeps saying that it doesn’t know about that spawn egg like it keeps saying error
Is there a way to get them to sell custom items like kits Shulker boxes with items in them?
@gabedala
Жыл бұрын
Hmm, I don’t think it’s possible. I know you can sell kits yes, but not shulker with items inside
@johnydang23
Жыл бұрын
@@gabedala I appreciate it either way thanks for responding you got a sub out of me great video
@gabedala
Жыл бұрын
@@johnydang23 thank you! I appreciate and I really hope to grow this channel and just be the best tutorial maker out there. I like them short and simple and straight to the point
@Samtiaka
Жыл бұрын
@Johnny Dang There is a way to do it by using a structure block
@Zero-ie4qi
11 ай бұрын
@@johnydang23believe it or not thankfully its possible with a structure block
The problem is that when you don't have the money and you give priority to what you want, he still gives it to you
@gabedala
10 ай бұрын
That’s true! I didn’t clearly make this known for the tutorial. I believe I can redo this and make it better and more understandable!
Is there a way to replace the money thing with diamonds as payment?
@gabedala
11 ай бұрын
Yes!
@Devynnohseven
11 ай бұрын
do /clear @p diamond instead of the usual command!
What do I do if I’m using a two word item ???????????? I’m using a smithing template and for give item I put /give @p smithing_template 1 and nothing is happening When I bye soooooo
@gabedala
3 ай бұрын
You’d do something like that, smithing_template_1. If you go into creative and do /give @s you can type smithing_template and see the different options
@Dingusmems
3 ай бұрын
@@gabedalaI checked and it was reverse I had too put netherite_upgrade_smithing_template
@Dingusmems
3 ай бұрын
@@gabedalabut now on the AIR block it’s saying unknown command /setblock -26 -60 -11 and I have permissions but I don’t know because I have checked the NPC and everything and I have enough money
Um how do you do it with like a money score board but with diamonds
@gabedala
Ай бұрын
I made a video on my page updated but without a money scoreboard. But if you want a scoreboard you just need to combine the two which I should make a video on how to do
it always said syntax error even tho i checked alot of times and it didnt work. when i went to the npc and tried to buy the item it wouldnt do anything :(
@Dingusmems
3 ай бұрын
Same are you using a two word item also?
Yo man
@gabedala
Жыл бұрын
Yo man!
Why doesn’t mine work because I did the command /scoreboard players remove @p Money 1 but when I try it doesn’t work. I have the objective it just says Syntax error:Unexpected “ “: at Money>>
@anthonymonico3715
3 ай бұрын
Never mind. Found my problem
@gabedala
3 ай бұрын
Glad it worked!
How do you make the money in the side like you use doobucks
@gabedala
4 ай бұрын
I have a video on my page I posted called “how to make a money scoreboard” one of my most recent videos!
@Dylanthedestroyer1
4 ай бұрын
@@gabedala on watching it now I sent a comment about a question on it
This is the easiest tutorial so far all of these other people have like 17 command blocks and Its so hard to keep up thank you for your help SUPER UNDERATED
@gabedala
Жыл бұрын
I appreciate the comment and positive feedback! Always loved short and to the point tutorials!
can you tell me how to make an npc's name tag always show?
@gabedala
7 ай бұрын
I think there’s an add on you can download for that
@dvader178
7 ай бұрын
Okay thanks
Mine won't work I got the commands down on paper and hooked it up it doesn't say error just nothing's happening
@gabedala
10 ай бұрын
I’ll have to make an updated version that clearly explains it more
@Slurpy_slushy
10 ай бұрын
That's nice of you thanks
thank you very much i can finaly troll my friends with this now!
@gabedala
8 ай бұрын
How can you troll?
@user-nz1kw3pc9i
8 ай бұрын
@@gabedala by fooling my friend with the npc trader while i am in vanish
Whenever I buy something the red stone won’t replace with air
@gabedala
Жыл бұрын
1. Did you make sure the cords of the command block are exactly the same as the red stone block? 2. Make sure the command block is the right one and it’s got to be facing all the same way.
@sikonikoniyt8930
Жыл бұрын
@@gabedalano it won't replace the redstone iam so Confusion
@gabedala
Жыл бұрын
@@sikonikoniyt8930 gotta make sure the command is correct and you’re setting the right coordinates
@sikonikoniyt8930
Жыл бұрын
@@gabedalawhat version do you play?
@sikonikoniyt8930
Жыл бұрын
@@gabedalaAnd minecraft chat says like this "you can't put blocks outside the world"
The redstone block stays it doesn’t go away
sooo... a tried this in the pocket edition and commandblocks don't send redstone signals/outputs so... i'm really sad and mad at the same time :> all tho, still wanderfull video, quick and simple, i'm sure many will found it usefull... unlike me GOD DAMM POCKET EDITION AAAAHHHH
@gabedala
Жыл бұрын
Oh man really?? Isn’t pocket edition part of bedrock? Definitely thought it is! And it’s not a red stone signal it’s sending. It’s placing the air/block with a redstone block. Not redstone dust
@weakny1830
Жыл бұрын
the thing is, the impulse block doesn't activate the chain block ahead despite facing to their direction, it's gotta be a thing of the mobile port
@gabedala
Жыл бұрын
@@weakny1830 interesting, gotta hop on a console then
I have a better way of doing this. You can actually write multiple commands in the npc, kind of like actual code that will run when the button is pushed and instead of using @p you can use @initiator so it will only give the person who pushed the button the item. Edit: the way you add multiple commands to an npc is literally just drop a line and add a new command...
@gabedala
3 ай бұрын
Yeah I didn’t know this at the time! Will make an updated video on it!
How do you make the scoreboard with the money system?
@gabedala
Жыл бұрын
I have a video tutorial on my channel!
@3D-gamer_08
Жыл бұрын
@@gabedala thx 👍
Yeah I have problem 1 you can get the shield without money I don't know why that happend
@gabedala
Ай бұрын
Maybe because one of your command blocks is unconditional instead of conditional
@Lunime18
Ай бұрын
@@gabedala what all tutorial I watched I didn't work to fix the problem like you get shield without money that's weird☠️ I wish the creator add new command like /trading @p shield 1 for emerald 5 like that:(
Question can you make a selling npc shop ?
@gabedala
11 ай бұрын
Yes
How do I make it cost iron
I did all of it right and the Redstone block spawns but it doesn't give me the item
@gabedala
3 ай бұрын
Working on a faster and better way to make this shop!
how do i make 1 where it makes a sound when its not enough coins or money
@gabedala
11 ай бұрын
That’s kinda hard to do, idk if it’s possible, because once you use a command block, it’ll follow the chain of others. I can look up something to see if I can find a tutorial for it
how do i gain points/money without using command?? like killing mobs give points/money
@gabedala
Жыл бұрын
Man! That’s a hard one! I would love to find that out and I’ll go looking for a way to do that or if it’s even possible!
@tubigiswater8256
Жыл бұрын
@@gabedala i thinks it impossible. but ty for replying.
@gabedala
Жыл бұрын
@@tubigiswater8256 it’s actually not impossible, I found a tutorial on how to do it. There might be a few tweaks and work arounds for it.
@tubigiswater8256
Жыл бұрын
@@gabedala it is still need commandblock?
@gabedala
Жыл бұрын
@@tubigiswater8256 yeah, still need a command blocks
What is the minecraft version
@gabedala
Ай бұрын
This is outdated but I made a new dated one on my channel
How do i use test if our money isn't scoreboard but Items
@gabedala
Жыл бұрын
It would just be a test for specific items and quantities of that item s
Once i put /scoreboard players test @p Money 10 it didnt work And the /scoreboard players remove @p Money 10 And then you know what Happened IT DIDNT WORK! 1:i have a scoreboard 2: Any ideas why?
It still deducts my money even though i have less, and my money ends up in negative
If I'm the owner is there a way I can give myself money?
@not_ali5690
Жыл бұрын
Or others
@gabedala
Жыл бұрын
Yes! Just type /scoreboard players add [name] [money] [amount]
how can you exchange blocks for items
@gabedala
Ай бұрын
I have a video on my page
@gamerguy4508
Ай бұрын
@@gabedala ok
The scoreboard wont show and how would I get more points/money?
@gabedala
4 ай бұрын
You can make your own way to get more points. Like killing mobs, making sell shops. Anything really. I also made an updated version on my page on how to make a money scoreboard
@Bianca_Di_Angelo.
4 ай бұрын
@@gabedala ohh ok ty!
Please help, I did it and everything worked, but once I had less than 10 money it started going into negatives
@gabedala
7 ай бұрын
Double check commands!
@buddybeast6287
7 ай бұрын
@@gabedala Thank you so much! It worked! I've been looking for this forever, but it works! One question though: Is there a way to make it so it's the specific player that bought it? The @p works and all, I was just wondering because sometimes they actually get the item the other person paid for because they were closer
How do you get money
what if you want to sell one item for another and not money
@gabedala
3 ай бұрын
I have a tutorial of that on my channel I posted 2 weeks ago! Check it out!
How do I do the scoreboard thing
@gabedala
10 ай бұрын
I have a video on my channel, believe it’s my first one
I need help it won’t work
Um I have a problem when i have 100 and I give 500 to a npc it gives me -400 can someone help me
@gabedala
3 ай бұрын
Look at my video titled: how to make a money scoreboard on Minecraft bedrock (posted 1 month ago) it will show you how to make a scoreboard and if you go to 6:30 and check the first command block, That is a test block for the scoreboard! Example: /scoreboard players test @p Money 500
My score go in negative in infinity when i have 0 score how i can stop?
@gabedala
11 ай бұрын
Double check the first command block, that first command block should be a tester to make sure you have enough points / money to spend.
@christianmoresca2539
11 ай бұрын
@@gabedala thank you
All you have to do now is /summon NPC and it will summons a npc. no longer need the egg.
@budotsbyopluuk9021
8 ай бұрын
But u can spawn npc more faster with the egg
It works just not as multi-player friendly
@gabedala
Ай бұрын
Why not multiplayer friendly?
@SevenDever
Ай бұрын
@@gabedala it gives the item to the closest player to the command block so if someone is buying something and they are behind another player buying something it's gonna take the money out of the player closest to the command block
@gabedala
Ай бұрын
@@SevenDever well that’s what @p means, you can change it. Also I made an updated version on my channel of how to do the same thing but make it so the person that’s talking to the NPC gets the item and no one else
How do you get players money?
@gabedala
7 ай бұрын
I’ll make a whole new tutorial about a money setup
@cypressesneifer1334
7 ай бұрын
Oh thanks
@cypressesneifer1334
7 ай бұрын
Dude, you are a legend
GABE PLEASE HELP IT WORKD BUT IF I HAVE LESS THAN ENOUGH MONEY IT DEDUCTS IT AND GIVES YOU THE ITEM ANYWAY AND THEN MONEY BECOMES NEGATIVE NUMBERS HELP HELP HELP
@gabedala
7 ай бұрын
I made an updated version on my channel, I’m sure you can find it’ it’s updated!
I did this and checked it over and over and it didn’t let me buy it
@gabedala
11 ай бұрын
Double check the command block settings
how do you get the thing to see how much money you have
@gabedala
Жыл бұрын
It’s called a scoreboard! I have a tutorial on my channel on how to make one!
@pandoeMaxx
Жыл бұрын
@@gabedala thanks
@pandoeMaxx
Жыл бұрын
also the objective doesn't seem to work
@gabedala
Жыл бұрын
Probably messed up, did you check out the video on my channel to see how to make it?
@pandoeMaxx
Жыл бұрын
@@gabedala yes i just realized its a command not for a command block lol