SHOW:
|
|
- or go back to the newest paste.
| 1 | - | command /kup pancerz: |
| 1 | + | command /kup [<text>]: |
| 2 | trigger: | |
| 3 | - | if player has 7 emerald block and 1 nether star and 1 enchanted golden apple |
| 3 | + | if arg 1 is "pancerz": |
| 4 | - | remove 7 emerald block and 1 nether star and 1 enchanted golden apple from the player |
| 4 | + | if player has 7 emerald block and 1 nether star and 1 enchanted golden apple: |
| 5 | - | give player a diamond chestplace of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy napiersnik" |
| 5 | + | remove 7 emerald block and 1 nether star and 1 enchanted golden apple from the player |
| 6 | - | send "&6[&4ESET&6]&d Gratulacje ! Kupiłes &2Szmaragdowy napiersnik !" |
| 6 | + | give player a diamond chestplace of unbreaking 10 and protection 10 and fire protection 5 named "&2Szmaragdowy napiersnik" |
| 7 | send "&6[&4ESET&6]&d Gratulacje ! Kupiłes &2Szmaragdowy napiersnik !" | |
| 8 | - | send "&6[&4ESET&6]&d Nie masz wymaganych itemow, aby kupic napiersnik !" |
| 8 | + | else: |
| 9 | send "&6[&4ESET&6]&d Nie masz wymaganych itemow, aby kupic napiersnik !" | |
| 10 | on any move: | |
| 11 | loop all players: | |
| 12 | if chestplate of loop-player is diamond chestplate named "&2Szmaragdowy napiersnik": | |
| 13 | apply health boost to the loop-player for 999999 seconds | |
| 14 | else: | |
| 15 | remove health boost from loop-player |