Satoru7135

Untitled

Jan 16th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. on right click:
  2. if event-block is orange wool:
  3. add {cookieadd.%uuid of player%} to {cookie.%uuid of player%}
  4. execute player command "/sidebar"
  5. stop
  6.  
  7. on first join:
  8. if {cookieadd.%uuid of player%} is not set:
  9. set {cookieadd.%uuid of player%} to 1
  10. set {cookie.%uuid of player%} to 0
  11.  
  12. on join:
  13. execute player command "/sidebar"
  14.  
  15. command /sidebar:
  16. trigger:
  17. wipe player's sidebar
  18. set name of sidebar of player to "&bStatus"
  19. set score "&6Cookie" in sidebar of player to 10
  20. set score "&6%{cookie.%uuid of player%}% Pieces" in sidebar of player to 9
  21.  
  22. command /developer <player>:
  23. permission: sk.developer
  24. trigger:
  25. set {cookieadd.%uuid of arg%} to 1
  26. set {cookie.%uuid of arg%} to 0
  27.  
  28. on left click:
  29. if event-block is orange wool:
  30. execute console command "/menu open %player% shop"
  31.  
  32. command /cstore <player> <text> <text>:
  33. permission: cstore.sk
  34. trigger:
  35. if arg-2 is "Cursor":
  36. add arg-3 to {cursor.%uuid of player%}
  37. send "Corsorを%arg-3%つ購入しました"
  38. stop
  39. if arg-2 is "Grandma":
  40. add arg-3 to {grandma.%uuid of player%}
  41. send "Grandmaを%arg-3%つ購入しました"
  42. stop
  43. if arg-2 is "Farm":
  44. add arg-3 to {farm.%uuid of player%}
  45. send "Farmを%arg-3%つ購入しました"
  46. stop
  47. if arg-2 is "Mine":
  48. add arg-3 to {mine.%uuid of player%}
  49. send "Mineを%arg-3%つ購入しました"
  50. stop
  51. if arg-2 is "Factory":
  52. add arg-3 to {factory.%uuid of player%}
  53. send "Factoryを%arg-3%つ購入しました"
  54. stop
  55. if arg-2 is "Bank":
  56. add arg-3 to {bank.%uuid of player%}
  57. send "Bankを%arg-3%つ購入しました"
  58. stop
  59. if arg-2 is "Temple":
  60. add arg-3 to {temple.%uuid of player%}
  61. send "Templeを%arg-3%つ購入しました"
  62. stop
  63. if arg-2 is "WizardTower":
  64. add arg-3 to {wizardtower.%uuid of player%}
  65. send "Wizard towerを%arg-3%つ購入しました"
  66. stop
  67. if arg-2 is "Shipment":
  68. add arg-3 to {shipment.%uuid of player%}
  69. send "Shipmentを%arg-3%つ購入しました"
  70. stop
  71. else:
  72. send "Cursor, Grandma, Farm, Mine, Factory, Bank, Temple, WizardTower, Shipment"
Advertisement
Add Comment
Please, Sign In to add comment