Advertisement
totomine123

Untitled

Sep 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. variables:
  2. {mine.%player%time} = 600
  3. {mine.%player%time2} = 0
  4.  
  5. on tool change:
  6. if {mine.%player%time2} = 0:
  7. set {mine.%player%time} to 600
  8. if {mine.%player%time2} = 1:
  9. set {mine.%player%time} to 600
  10. set {mine.%player%time2} to 0
  11. message "&a放置解除しました。" to player
  12. teleport player to the location (1279.0, 6.0, 1129.0)
  13.  
  14. every 1 second in "world":
  15. loop all players:
  16. name of loop-player is not "k8w" or "syu_cat" or "AT_Kamado"
  17. if {mine.%loop-player%time2} = 0:
  18. add -1 to {mine.%loop-player%time}
  19. if {mine.%loop-player%time} = 60:
  20. message "&a放置場所に行くまで残り60秒です。解除したいならマウスのホイールをくるくるしてください。" to player
  21. if {mine.%loop-player%time} < 0:
  22. teleport loop-player to the location (1267.0, 12.0, 1117.0)
  23. message "&aあなたは放置していたのでここにテレポートされました。" to loop-player
  24. add 1 to {mine.%loop-player%time2}
  25. set {mine.%loop-player%time} to 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement