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