ALPHADOIDE

Untitled

Oct 8th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. variables:
  2. {point.%player%} = 0
  3. every 1 seconds in "world":
  4. loop all players:
  5. if {point.%loop-player%} is greater than or equal to 1:
  6. remove 1 from {point.%loop-player%}
  7. on sign change:
  8. line 1 is "占領"
  9. set line 1 to "&4&l===占領ポイント==="
  10. on right click:
  11. clicked block is sign
  12. line 1 is "&4&l===占領ポイント==="
  13. if {point.%player%} is 0:
  14. add 5 emerald to player's inventory
  15. broadcast "&b%player%さんがレッドポイントを占領しました!"
  16. set {point.%player%} to 180
  17. else:
  18. send "&cあと%{point.%player%}%秒&e待ってください"
Advertisement
Add Comment
Please, Sign In to add comment