Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- if event-block is orange wool:
- add {cookieadd.%uuid of player%} to {cookie.%uuid of player%}
- execute player command "/sidebar"
- stop
- on first join:
- if {cookieadd.%uuid of player%} is not set:
- set {cookieadd.%uuid of player%} to 1
- set {cookie.%uuid of player%} to 0
- on join:
- execute player command "/sidebar"
- command /sidebar:
- trigger:
- wipe player's sidebar
- set name of sidebar of player to "&bStatus"
- set score "&6Cookie" in sidebar of player to 10
- set score "&6%{cookie.%uuid of player%}% Pieces" in sidebar of player to 9
- command /developer <player>:
- permission: sk.developer
- trigger:
- set {cookieadd.%uuid of arg%} to 1
- set {cookie.%uuid of arg%} to 0
- on left click:
- if event-block is orange wool:
- execute console command "/menu open %player% shop"
- command /cstore <player> <text> <text>:
- permission: cstore.sk
- trigger:
- if arg-2 is "Cursor":
- add arg-3 to {cursor.%uuid of player%}
- send "Corsorを%arg-3%つ購入しました"
- stop
- if arg-2 is "Grandma":
- add arg-3 to {grandma.%uuid of player%}
- send "Grandmaを%arg-3%つ購入しました"
- stop
- if arg-2 is "Farm":
- add arg-3 to {farm.%uuid of player%}
- send "Farmを%arg-3%つ購入しました"
- stop
- if arg-2 is "Mine":
- add arg-3 to {mine.%uuid of player%}
- send "Mineを%arg-3%つ購入しました"
- stop
- if arg-2 is "Factory":
- add arg-3 to {factory.%uuid of player%}
- send "Factoryを%arg-3%つ購入しました"
- stop
- if arg-2 is "Bank":
- add arg-3 to {bank.%uuid of player%}
- send "Bankを%arg-3%つ購入しました"
- stop
- if arg-2 is "Temple":
- add arg-3 to {temple.%uuid of player%}
- send "Templeを%arg-3%つ購入しました"
- stop
- if arg-2 is "WizardTower":
- add arg-3 to {wizardtower.%uuid of player%}
- send "Wizard towerを%arg-3%つ購入しました"
- stop
- if arg-2 is "Shipment":
- add arg-3 to {shipment.%uuid of player%}
- send "Shipmentを%arg-3%つ購入しました"
- stop
- else:
- send "Cursor, Grandma, Farm, Mine, Factory, Bank, Temple, WizardTower, Shipment"
Advertisement
Add Comment
Please, Sign In to add comment