Advertisement
SuzukazeK

Untitled

Aug 20th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /start:
  2. trigger:
  3. set {to} to "set"
  4. set {_slot} to 11
  5. add "&eリゾート" to {vote::*}
  6. add "&7遺跡" to {vote::*}
  7. add "&5&lのろい&7&lの&4&lやかた" to {vote::*}
  8. add "&6皮猫区 來芽瑠公園" to {vote::*}
  9. add "&c&lHell" to {vote::*}
  10. add "&b&lIcicle Ruins" to {vote::*}
  11. add "&6家?" to {vote::*}
  12. add "&c団地" to {vote::*}
  13. add "&d懐かしい家の匂い" to {vote::*}
  14. add "&5野獣邸" to {vote::*}
  15. loop 3 times:
  16. set {_v} to random object of {vote::*}
  17. add {_v} to {vote.list::*}
  18. remove {_v} from {vote::*}
  19. loop all players:
  20. if {join.%loop-player%} is not set:
  21. close loop-player's inventory
  22. wait 5 seconds
  23. delete {to}
  24. loop all players:
  25. close loop-player's inventory
  26. delete {vote.list::*}
  27. delete {vote::*}
  28. on inventory click:
  29. inventory name of player's current inventory is "&aSelect a Map"
  30. if {to} is set:
  31. if clicked slot is between 9 and 17:
  32. cancel event
  33. on inventory close:
  34. wait a tick
  35. if {to} is set:
  36. set {_slot} to 11
  37. open chest with 3 rows named "&aSelect a Map" to player
  38. wait a tick
  39. loop 9 times:
  40. set slot loop-number + 8 of player's current inventory to black stained glass pane
  41. loop {vote.list::*}:
  42. set slot {_slot} of player's current inventory to crafting table named "%loop-value%"
  43. add 2 to {_slot}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement