I'm making a kit pvp and am using scoreboard as my points.
How do I make it so when a player is standing near an item, it gives them 1 point then the item disappears?
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
Here is just "an item":
execute @e[type=item] ~ ~ ~ scoreboard players add @p MYOBJ 1 kill @e[type=item]
Or for an item named
execute @e[type=item,name="Apple"] ~ ~ ~ scoreboard players add @p MYOBJ 1 kill @e[type=item,name="Apple"]
The first command should be in a repeating always active command block and the second in a chain always active conditional.