Is there any way to read values from a variable in an objective and use it in another command? For example: scoreboard objectives add coords dummy scoreboard players set x coords 54 scoreboard players set y coords 78 scoreboard players set z coords -45 From here read the values x, y, z and insert them in /tp @a x y z?
Hiiiii idk if you will see this, but im trying to make a kill minus death counter, a money counter, and a wither hits counter, how do i make it so for example, if a player gets killed twice and kills one person, their score will be -1, how do i make it so for example, if a player does 12 hp damage to the wither, their scoreboard goes up by 12, and how do i make a money system where they can sell diamonds for points, and can buy items for points
Also my /clear @p diamond 10 10 isnt working, but /clear @p ladder 10 10 is so idk whats going on, iron ingots dont work, torches do, idk about everything else
Hey. I’ve actually been trying to figure out the kill minus death counter myself but I don’t have an answer yet. For the money system I would assume a scoreboard would be pretty good at that and you could just increase/decrease it when the player buys/sells things.
@@TheCommandsMan Im on pocket edition, the second 10 (well the first one really) is for data, i have no idea how that one works ive just been guessing and testing and 10 worked, the second one is the amount i want to clear
How do I make this work? I want that when something comes close to the armor stand named "Test" with an id different from his, it takes damage, but it's not working execute at @e[type=!item] as @e[type=!item] unless score @s[r=2] id = @e[name=Test,r=2] id run damage @s[r=2] 5 fire
I'm a little confused at what you're going for but maybe try this one: execute as @e[type=!item] at @s unless score @s[r=2] id matches @e[name=Test,r=2] id run damage @s[r=2] 5 fire If this doesn't help let me know and we can get in touch.
I don't understand how scoreboards are related to the commands you showed at the beginning Why do you need to use scoreboards in order to do certain things?
So that huge number isn’t actually the value, it is just the identifier for that entity. Kinda like a name or how your identifier is your gamertag. I don’t think you can change it but you can still give it values and ot will work normally
@@TheCommandsMan yeah i know it isnt a value, but i just wanted it to display a name bcuz i have many values to store and this is hard to memorize. But thanks! 👍
Without more context I’m not sure how to help you. When I tried the command, it ran with no errors. Are you running this from a command block? Perhaps you used an incorrect selector. You may try / execute as @p if score @s wep1 matches 0..-1000 run scoreboard players set @s wep1 0 Or /execute if score @p wep1 matches 0..-1000 run scoreboard players set @p wep1 0 If this doesn’t help, you could provide more info or ask the commandsHelp subreddit, they are pretty useful.
Nice video, clear explanation. Interested to see examples of these in action as I watch more of your stuff. 👍
Exactly what I wanted to know, thanks for the comprehensive tutorial
Glad I could help :)
Here before this blows up, (which it will def cus you are the best at explaining this type of stuff)
Thank you, just wanna spread the knowledge 🙏
4:51 I'm learning python so the operations are really easy to understand
Anyway to make it so when you use an entity on a scoreboard to make it a normal name and not random numbers?
I have the same issue idk if it's possible to fix bc that is the name of the entity it's just written in id from
@ alright thanks, imma keep trying
I haven’t found a way yet, lemme know if you do though
Is there any way to read values from a variable in an objective and use it in another command? For example:
scoreboard objectives add coords dummy
scoreboard players set x coords 54
scoreboard players set y coords 78
scoreboard players set z coords -45
From here read the values x, y, z and insert them in /tp @a x y z?
Not that I know of, but you can have creative work arounds to achieve that same result
Can you do a video on how to get yours or other player’s skulls in Minecraft bedrock edition ?
Great video, rly helpfull.
Thanks! I hope this helps you make some cool stuff.
Now i can make my own map
I can easily use execute and all other commands and even some datapack but when i hear "scoreboard" i die
It’s so scary looking but learning how to use it might have been the best decision I ever made.
Sadly the entity score displays a HUGE negative number and idk how to remove it
Yeah, that’s kinda the games “name” for that entity. It doesn’t affect the scoreboard but it does look bad.
Hiiiii idk if you will see this, but im trying to make a kill minus death counter, a money counter, and a wither hits counter, how do i make it so for example, if a player gets killed twice and kills one person, their score will be -1, how do i make it so for example, if a player does 12 hp damage to the wither, their scoreboard goes up by 12, and how do i make a money system where they can sell diamonds for points, and can buy items for points
Also my /clear @p diamond 10 10 isnt working, but /clear @p ladder 10 10 is so idk whats going on, iron ingots dont work, torches do, idk about everything else
also im on pocket
Hey. I’ve actually been trying to figure out the kill minus death counter myself but I don’t have an answer yet. For the money system I would assume a scoreboard would be pretty good at that and you could just increase/decrease it when the player buys/sells things.
For your /clear one, what is the second 10 for? I’m not at my pc right now so I can’t test the commands
@@TheCommandsMan Im on pocket edition, the second 10 (well the first one really) is for data, i have no idea how that one works ive just been guessing and testing and 10 worked, the second one is the amount i want to clear
How did you use this to make world edit?
Well the short answer is ray casting but I made a whole video about it if you wanna see the specifics
How do I make this work? I want that when something comes close to the armor stand named "Test" with an id different from his, it takes damage, but it's not working
execute at @e[type=!item] as @e[type=!item] unless score @s[r=2] id = @e[name=Test,r=2] id run damage @s[r=2] 5 fire
I'm a little confused at what you're going for but maybe try this one:
execute as @e[type=!item] at @s unless score @s[r=2] id matches @e[name=Test,r=2] id run damage @s[r=2] 5 fire
If this doesn't help let me know and we can get in touch.
I don't understand how scoreboards are related to the commands you showed at the beginning
Why do you need to use scoreboards in order to do certain things?
Many things could probably be achieved without the scoreboard command but it is the best way to create custom variables or create true randomness.
If you look at the npc's scoreboard, it just displays a huge negative number, and I am having the same problem :(. Is there a way i can fix that?
So that huge number isn’t actually the value, it is just the identifier for that entity. Kinda like a name or how your identifier is your gamertag. I don’t think you can change it but you can still give it values and ot will work normally
@@TheCommandsMan yeah i know it isnt a value, but i just wanted it to display a name bcuz i have many values to store and this is hard to memorize. But thanks! 👍
How can I get points when using items?
That’s tricky in bedrock version. I’m trying to find a good way to do that. If I make a video about it, I’ll tag you.
/execute if score @p wep1 matches 0..-1000 run scoreboard players set @s wep1 0 Do you know why this isn't working?
Without more context I’m not sure how to help you. When I tried the command, it ran with no errors. Are you running this from a command block?
Perhaps you used an incorrect selector.
You may try
/ execute as @p if score @s wep1 matches 0..-1000 run scoreboard players set @s wep1 0
Or
/execute if score @p wep1 matches 0..-1000 run scoreboard players set @p wep1 0
If this doesn’t help, you could provide more info or ask the commandsHelp subreddit, they are pretty useful.
@@TheCommandsMan Its alright, I fixed it
@@glingusjimbo8705glad to hear! Good luck :)
Hey can You give me the reset one
/scoreboard players reset @s. Is this what you mean?
I don't see the leaderboard
What do you mean?
2:02
No the best command is /execute
Edit: and /camera
That's true! With /camera I made: nightshift at the vets 1 nightshift at the vets 2 and nightshift at the vets 4
It's a game series I made check it out if you want lol