Advertisement
ArtzifyHD

Murder

Jul 21st, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. options:
  2. prefix: &8[&cTNT&4Murder&8]
  3. Command / murder [<text>]:
  4. trigger:
  5. If arg 1 is "start":
  6. If {games} is not set:
  7. Loop all players:
  8. Teleport loop-player to {spawn}
  9. Broadcast "{@prefix} &8» &7 Player &c% loop-player% &7 ..."
  10. Wait 10 ticks
  11. Set {games} to true
  12. Broadcast "{prefix} &8» &77The & cMurder &7 & the Detective &7 will be chosen ..."
  13. Loop all players:
  14. Add loop-player to {murderliste :: *}
  15. Set {_j1} to a random player of {murderliste :: *}
  16. Give 1 iron sword with sharpness 50 to {_j1}
  17. Remove {_j1} from {murderliste :: *}
  18. Set {_j2} to a random player of {murderliste :: *}
  19. Give 1 bow with bow 50 to {_j2}
  20. Remove {_j2} from {murderliste :: *}
  21. If arg 1 is "stop":
  22. Clear {games}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement