Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &8[&cTNT&4Murder&8]
- Command / murder [<text>]:
- trigger:
- If arg 1 is "start":
- If {games} is not set:
- Loop all players:
- Teleport loop-player to {spawn}
- Broadcast "{@prefix} &8» &7 Player &c% loop-player% &7 ..."
- Wait 10 ticks
- Set {games} to true
- Broadcast "{prefix} &8» &77The & cMurder &7 & the Detective &7 will be chosen ..."
- Loop all players:
- Add loop-player to {murderliste :: *}
- Set {_j1} to a random player of {murderliste :: *}
- Give 1 iron sword with sharpness 50 to {_j1}
- Remove {_j1} from {murderliste :: *}
- Set {_j2} to a random player of {murderliste :: *}
- Give 1 bow with bow 50 to {_j2}
- Remove {_j2} from {murderliste :: *}
- If arg 1 is "stop":
- Clear {games}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement