dai_pon

Untitled

May 10th, 2018
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. on rightclick on sign:
  2. if line 4 is ".":
  3. if {money.%player%} is greater than or equal to 100:
  4. execute console command "menu grab %player% money100"
  5. send "&9》 &a100円を交換しました。"
  6. set {_location} to location of player
  7. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  8. subtract 100 from {money.%player%}
  9. else:
  10. send "&9》 &aお金が足りていません。"
  11. set {_location} to location of player
  12. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  13.  
  14. on rightclick on sign:
  15. if line 4 is "..":
  16. if player is holding a 165 named "&a1000 Point":
  17. execute console command "menu grab %player% money100"
  18. send "&9》 &a100Pointを売却しました。"
  19. set {_location} to location of player
  20. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  21. subtract 100 from {money.%player%}
  22. else:
  23. send "&9》 &aアイテムを持っていません。"
  24. set {_location} to location of player
  25. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
Advertisement
Add Comment
Please, Sign In to add comment