Itsyuumello2

Untitled

Dec 9th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. on join:
  2. if {game} is true:
  3. set player's gamemode to spectator
  4. teleport player to {spectatespawn}
  5. if {default.%player%} is set:
  6. set join message to "&7%player% &eJoined."
  7. if {vip.%player%} is set:
  8. set join message to "&a[VIP] %player% &6joined the game!"
  9. if {vip+.%player%} is set:
  10. set join message to "&a[VIP&6+&a] %player% &6joined the game!"
  11. if {mvp.%player%} is set:
  12. set join message to "&b>&c>&a> &b[MVP] %player% &6joined the game! &a<&c<&b<"
  13. if {mvp+.%player%} is set:
  14. set join message to "&b>&c>&a> &b[MVP&c+&b] %player% &6joined the game! &a<&c<&b<"
  15. if {special.%player%} is set:
  16. set join message to "&b>&c>&a> &d[SPECIAL] %player% &6joined the game! &a<&c<&b<"
  17. if {admin.%player%} is set:
  18. set join message to "&b>&c>&a> &c[ADMIN] %player% &6joined the game! &a<&c<&b<"
  19.  
  20. on quit:
  21. if {game} is true:
  22. set quit message to "&7%player% &7Disconnected."
  23. execute console command "/kill %player%"
  24.  
  25. on death of player:
  26. if {game} is true:
  27. set death message to "%victim% &ewas killed by %attacker%"
  28. force respawn player
  29.  
  30. on respawn:
  31. if {game} is true:
  32. set player's gamemode to spectator
  33. teleport player to {spectatespawn}
  34. send "&cあなたは死亡しました!"
  35.  
  36. on click on villager:
  37. if {game} is true:
  38. open chest with 6 row named "&bItem Shop" to player
  39. set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" and "&7Your Coins: &6%{coins}%" and "&2"
  40. set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" "&fYour Coins: &6%{gamecoins.%player%}%"
  41. set slot 9 of player's current inventory to gray glass pane named "&1"
  42. set slot 1 of player's current inventory to white hardened clay named "&aブロック"
  43. set slot 10 of player's current inventory to gray glass pane named "&2"
  44. set slot 2 of player's current inventory to golden sword named "&a武器"
  45. set slot 11 of player's current inventory to gray glass pane named "&3"
  46. set slot 3 of player's current inventory to chainmail boots named "&a装備"
  47. set slot 12 of player's current inventory to gray glass pane named "&4"
  48. set slot 4 of player's current inventory to stone pickaxe named "&aツール"
  49. set slot 13 of player's current inventory to gray glass pane named "&5"
  50. set slot 5 of player's current inventory to bow named "&a弓"
  51. set slot 14 of player's current inventory to gray glass pane named "&6"
  52. set slot 6 of player's current inventory to brewing stand named "&aポーション"
  53. set slot 15 of player's current inventory to gray glass pane named "&7"
  54. set slot 7 of player's current inventory to tnt named "&aその他"
  55. set slot 16 of player's current inventory to gray glass pane named "&8"
  56.  
  57. command /menu:
  58. trigger:
  59. if {lobby} is true:
  60. open chest with 3 row named "&aMenu" to player
  61. set slot 11 of player's current inventory to nether star named "&aゲームに参加" with lore "&7ここをクリックすると" and "&7チーム選択画面に移り、" and "&7ゲームに参加できます。" and "&1" and "&8Click to open"
  62. set slot 13 of player's current inventory to emerald named "&aショップ" with lore "&7ここをクリックすると" and "&7キットまたはコスチューム購入画面に移り、" and "&7購入することができます。" and "&1" and "&8Click to open"
  63. set slot 15 of player's current inventory to chest named "&aコスチューム" with lore "&7ここをクリックすると" and "&7コスチューム選択画面に移り、" and "&7自分の所持しているコスチュームを" and "&7選択しています。" and "&1" and "&8Click to open"
  64.  
  65. on inventory click:
  66. if name of player's current inventory contain "&aMenu":
  67. cancel event
  68. if name of clicked item is "&aゲームに参加":
  69. open chest with 3 row named "&aMenu" to player
  70. set slot 11 of player's current inventory to red wool named "&c赤チームに参加" with lore "&7ここをクリックすると" and "&7赤チームに参加します。" and "&1" and "&8Click to join"
  71. set slot 15 of player's current inventory to blue wool named "&9青チームに参加" with lore "&7ここをクリックすると" and "&7青チームに参加します。" and "&1" and "&8Click to join"
  72.  
  73.  
  74. on explode:
  75. cancel event
  76.  
  77. on drop:
  78. if {lobby} is true:
  79. cancel event
Add Comment
Please, Sign In to add comment