SHARE
TWEET

Untitled

AtsuSheee Nov 16th, 2019 (edited) 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on join:
  2.     if {fc.%player%} is not set:
  3.         set {fc.%player%} to 100
  4.  
  5. command /fcreset:
  6.     trigger:
  7.         if {fc.%player%} is not set:
  8.             set {fc.%player%} to 100
  9.             send "&8[&9FCsk&8] &aFCをreloadしました"
  10.  
  11. command /getfc [<number>]:
  12.     permission: fc.admin
  13.     trigger:
  14.         if arg is set:
  15.             add arg to {fc.%player%}
  16.             send "&8[&9FCsk&8] &a+&6&l%arg%&eFriedCoin "
  17.         else:
  18.             send "&8[&9FCsk&8] &cコインの数が指定されていません"
  19.  
  20. command /fc [<text>] [<number>]:
  21.     trigger:
  22.         if arg 1 is not set:
  23.             send "&8[&9FCsk&8] &c指定されていません(使い方 /fc help)"
  24.         if arg 1 is "out":
  25.             if arg 2 is set:
  26.                 if arg 2 <= {fc.%player%}:
  27.                     give magma cream named "&9&l《 &eFried Coin &9&l》" with lore "&e価値&a:&6%arg-2%" to player
  28.                     remove arg-2 from {fc.%player%}
  29.             else:
  30.                 send "&8[&9FCsk&8] &cコインの数が指定されていません"
  31.         if arg 1 is "help":
  32.             send "&8[&9FCsk&8]"
  33.             send "&9/fc help &6&l= &8このコマンドのヘルプを表示します"
  34.             send "&9/fc out 金額 &6&l= &8金額の数だけFCを引き出します"
  35.  
  36. command /money:
  37.     trigger:
  38.         send "&e%player%"
  39.         send "&eFriedCoin&a: &6%{fc.%player%}%"
  40.  
  41. on rightclick with magma cream:
  42.     set {_Coin::*} to lore of player's tool
  43.     loop {_Coin::*}:
  44.         loop-value contains "&e価値&a:&6":
  45.             set {_n} to loop-value
  46.             replace "&e価値&a:&6" with "" in {_n}
  47.             send "&8[&9FCsk&8] &a+&6&l%{_n}% &eFriedCoin"
  48.             add {_n} parsed as number to {fc.%player%}
  49.             clear held item
  50.  
  51. on rightclick with trapped chest:
  52.     cancel event
  53.     remove 1 trapped chest named "&a報酬箱" from player's inventory
  54.     execute console command "/execute %player% ~ ~ ~ /playsound block.chest.open master %player% ~ ~ ~ 1 1"
  55.     set {_random} to a random integer between 1 and 100
  56.     if {_random} is between 1 and 70:
  57.         send "&a+&e5 &7FriedCoin" to event-player
  58.         add 5 to {fc.%player%}
  59.     if {_random} is between 71 and 94:
  60.         send "&a+&e10 &7FriedCoin" to event-player
  61.         add 10 to {fc.%player%}
  62.     if {_random} is between 95 and 100:
  63.         set {_randomitem} to a random integer between 1 and 20
  64.         if {_randomitem} is between 1 and 3:
  65.             broadcast "&9[&aItem&9] &a%player%&7 got &7トロッコ &9《 &bRare&a: &e★★☆☆☆ &9》"
  66.             give minecart named "&7トロッコ" with lore "&9《 &cCT&a:&e15 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&bトロッコ向いてる方向行き~♪","&b5秒間持続して飛べる。" and "&bしかし方向転換ができない。" to player
  67.         if {_randomitem} is between 3 and 5:
  68.             broadcast "&9[&aItem&9] &a%player%&7 got &6聖騎士の加護 &9《 &bRare&a: &e★★☆☆☆ &9》"
  69.             give golden chestplate named "&6聖騎士の加護" with lore "&9《 &cCT&a:&e8 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b聖騎士の加護でダメージを軽減する" and "&b5秒間ダメージを40パーセント軽減する" to player
  70.         if {_randomitem} is between 5 and 7:
  71.             broadcast "&9[&aItem&9] &a%player%&7 got &5飛魂 &9《 &bRare&a: &e★★☆☆☆ &9》"
  72.             give nether star named "&5飛魂" with lore "&9《 &cCT&a:&e10 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b魔法で魂を飛ばす" and "&b敵に当てた時に敵にテレポートする" to player
  73.         if {_randomitem} is 8 and 9:
  74.             broadcast "&9[&aItem&9] &a%player%&7 got &8クラッシュ &9《 &bRare&a: &e★★★☆☆ &9》"
  75.             give anvil named "&8クラッシュ" with lore "&9《 &cCT&a:&e13 &9》 &9《 &bRare&a: &e★★★☆☆ &9》","&bためてから向いてる方向に進みながらブロックを壊していく" and "&b威力が高いが方向を変えれない" to player
  76.         if {_randomitem} is 10 and 11:
  77.             broadcast "&9[&aItem&9] &a%player%&7 got &e雷の破片 &9《 &bRare&a: &e★★★☆☆ &9》"
  78.             give glowstone dust named "&e雷の破片" with lore "&9《 &cCT&a:&e12 &9》 &9《 &bRare&a: &e★★★☆☆ &9》","&b上から雷を落とす" and "&b範囲はデカいが威力はすこし弱め" to player
  79.         if {_randomitem} is 12 and 13:
  80.             broadcast "&9[&aItem&9] &a%player%&7 got &4フレイムストーム &9《 &bRare&a: &e★★☆☆☆ &9》"
  81.             give blaze rod named "&4フレイムストーム" with lore "&9《 &cCT&a:&e12 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b自傷するが威力が高い" and "&b当たらなくても自傷する" to player
  82.         if {_randomitem} is 14:
  83.             broadcast "&9[&aItem&9] &a%player%&7 got &3チャージクラッシュ &9《 &bRare&a: &e★★☆☆☆ &9》"
  84.             give iron axe named "&3チャージクラッシュ" with lore "&9《 &cCT&a:&e20 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&bためて動けなくなるが威力が高い" and "&b戦場に突き刺さっていた斧" to player
  85. command /box [<number>]:
  86.     permission: fc.admin
  87.     trigger:
  88.         if arg-1 is set:
  89.             if arg-1 <= 64:
  90.                 loop arg times:
  91.                     give trapped chest named "&a報酬箱" to player
  92.             else:
  93.                 send "&c64個以下にしてください。"
  94.         else:
  95.             give trapped chest named "&a報酬箱" to player
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top