Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INIT:/scoreboard objectives add Deaths deathCount
- INIT:/scoreboard objectives add GodKitGiven dummy
- # This will make GodKitGiven have a default value of 0, instead of 'null':
- /scoreboard players add @a GodKitGiven 0
- # The 'score_GodKitGiven=0' selector in the following 'give' commands only allows it to give the items to players who have not yet received the god kit.
- /give @a[score_Deaths_min=35,score_Deaths=35,score_GodKitGiven=0] diamond_chestplate
- /give @a[score_Deaths_min=35,score_Deaths=35,score_GodKitGiven=0] diamond_leggings
- /give @a[score_Deaths_min=35,score_Deaths=35,score_GodKitGiven=0] diamond_boots
- /give @a[score_Deaths_min=35,score_Deaths=35,score_GodKitGiven=0] diamond_pickaxe
- /give @a[score_Deaths_min=35,score_Deaths=35,score_GodKitGiven=0] diamond_shovel
- /give @a[score_Deaths_min=35,score_Deaths=35,score_GodKitGiven=0] diamond_axe
- # I made this into a tellraw command, so it could be colored:
- /tellraw @a[score_Deaths_min=35,score_Deaths=35,score_GodKitGiven=0] {color:"gold",text:"You have been given the GOD KIT"}
- # Once each player has been given the god kit, their GodKitGiven score will become '1'.
- /scoreboard players set @a[score_Deaths_min=35,score_GodKitGiven=0] GodKitGiven 1
Advertisement
Add Comment
Please, Sign In to add comment