SHARE
TWEET

densi

Melon100 Jan 26th, 2020 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick with paper:
  2.     name of player's tool contain "&a&l電子マネー[Manako]"
  3.     make player execute command "/densi"
  4.  
  5. command /densi:
  6.     trigger:
  7.         open chest with 6 row named "&a電子マネー[Manako] Options"
  8.         set slot 0 of player's current inventory to diamond named "&6Piggy: %{money.%player%}%"
  9.         set slot 19 of player's current inventory to gold block named "&6入金"
  10.         set slot 21 of player's current inventory to emerald block named "&bPOINTからマネーへの交換"
  11.         set slot 23 of player's current inventory to emerald block named "&a残高照会"
  12.  
  13. on inventory click:
  14.     if name of player's current inventory contain "&a電子マネー[Manako] Options":
  15.         cancel event
  16.         if name of clicked item is "&6入金":
  17.             close player's inventory
  18.             wait 2 tick
  19.             make player execute command "/purse"
  20.         if name of clicked item is "&bPOINTからマネーへの交換":
  21.             close player's inventory
  22.             wait 2 tick
  23.             make player execute command "/pointc"
  24.         if name of clicked item is "&a残高照会":
  25.             close player's inventory
  26.             wait 2 tick
  27.             make player execute command "/zandaka"
  28.  
  29. command /purse:
  30.     trigger:
  31.         open chest with 6 row named "&6入金オプション"
  32.         set slot 0 of player's current inventory to diamond named "&6Purse: %{money.%player%}%" with Lore "&a残高: %{densi.%player%}%"
  33.         set slot 19 of player's current inventory to gold block of Sharpness 10 named "&6&l50000Coin入れる"
  34.         set slot 21 of player's current inventory to gold ingot of Sharpness 10 named "&6&l10000Coin入れる"
  35.         set slot 23 of player's current inventory to gold nugget of Sharpness 10 named "&6&l5000Coin入れる"
  36.         set slot 19 of player's current inventory to gold ingot of named "&6&l1000Coin入れる"
  37.         set slot 19 of player's current inventory to gold nugget named "&6&l500Coin入れる"
  38.  
  39. on inventory click:
  40.     if name of player's current inventory contain "&6入金オプション":
  41.         cancel event
  42.         if name of clicked item is "&6&l50000Coin入れる":
  43.             50000 <= {money.%player%}
  44.             remove 50000 from {money.%player%}
  45.             add 50000 to {densi.%player%}
  46.             send "&6&n50000 Coin&d入金しました!!"
  47.         if name of clicked item is "&6&l10000Coin入れる":
  48.             10000 <= {money.%player%}
  49.             remove 10000 from {money.%player%}
  50.             add 10000 to {densi.%player%}
  51.             send "&6&n10000 Coin&d入金しました!!"
  52.         if name of clicked item is "&6&l5000Coin入れる":
  53.             5000 <= {money.%player%}
  54.             remove 5000 from {money.%player%}
  55.             add 5000 to {densi.%player%}
  56.             send "&6&n5000 Coin&d入金しました!!"
  57.         if name of clicked item is "&6&l1000Coin入れる":
  58.             1000 <= {money.%player%}
  59.             remove 1000 from {money.%player%}
  60.             add 1000 to {densi.%player%}
  61.             send "&6&n1000 Coin&d入金しました!!"
  62.         if name of clicked item is "&6&l500Coin入れる":
  63.             500 <= {money.%player%}
  64.             remove 500 from {money.%player%}
  65.             add 500 to {densi.%player%}
  66.             send "&6&n500 Coin&d入金しました!!"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top