Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {uuid::%player%.money} = 10000
- {uuid::%player%.mp} = 0
- {uuid::%player%.mc} = 0
- {uuid::%player%.boost} = 1
- {uuid::%player%.xp} = 0
- {uuid::%player%.level} = 1
- {uuid::%player%.itemadd} = 0
- {uuid::%player%.automaker} = false
- on mine of cobblestone:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1"
- command "/give %player% cobblestone %1+{uuid::%player%.itemadd}%"
- add 10*{uuid::%player%.boost} to {uuid::%player%.money}
- add 2*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 3*{uuid::%player%.boost} to {uuid::%player%.mp}
- on mine of iron ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.1"
- command "/give %player% iron_ore %1+{uuid::%player%.itemadd}%"
- add 50*{uuid::%player%.boost} to {uuid::%player%.money}
- add 5*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 10*{uuid::%player%.boost} to {uuid::%player%.mp}
- on mine of diamond ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.2"
- command "/give %player% diamond_ore %1+{uuid::%player%.itemadd}%"
- add 250*{uuid::%player%.boost} to {uuid::%player%.money}
- add 8*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 20*{uuid::%player%.boost} to {uuid::%player%.mp}
- on mine of emerald ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.3"
- command "/give %player% emerald_ore %1+{uuid::%player%.itemadd}%"
- add 1500*{uuid::%player%.boost} to {uuid::%player%.money}
- add 20*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 50*{uuid::%player%.boost} to {uuid::%player%.mp}
- on mine of gold ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.4"
- command "/give %player% gold_ore %1+{uuid::%player%.itemadd}%"
- add 5000*{uuid::%player%.boost} to {uuid::%player%.money}
- add 50*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 100*{uuid::%player%.boost} to {uuid::%player%.mp}
- every tick:
- loop all players:
- send action bar with text "&e現在の所持金 &f: &a%{uuid::%loop-player%.money}% &b採掘ポイント &f: &a%{uuid::%loop-player%.mp}% &a経験値 &b%{uuid::%loop-player%.xp}% &f/ &b%100*{uuid::%loop-player%.level}^1.4% &bレベル &a%{uuid::%loop-player%.level}% &eブースト &f: &6x%{uuid::%loop-player%.boost}%" to loop-player
- if {uuid::%loop-player%.xp} >= (10*{uuid::%loop-player%.level})^1.7:
- remove 100*{uuid::%loop-player%.level}^1.4 from {uuid::%loop-player%.xp}
- add 1 to {uuid::%loop-player%.level}
- set {uuid::%loop-player%.boost} to {uuid::%loop-player%.boost}*1.1
- command "/execute %loop-player% ~ ~ ~ /playsound minecraft:entity.player.levelup ambient %loop-player% ~ ~ ~ 2 0.6"
- message "&6採掘レベルが上がりました!" to loop-player
- message "&cレベル &d%{uuid::%loop-player%.level}-1% → &bレベル &a%{uuid::%loop-player%.level}%" to loop-player
- message "&e Boost x1.1 &f... &e&lx%{uuid::%loop-player%.boost}%" to loop-player
- command /mreset <player>:
- permission: skript.admin
- trigger:
- set {uuid::%player%.money} to 10000
- set {uuid::%player%.mp} to 0
- set {uuid::%player%.mc} to 0
- set {uuid::%player%.boost} to 1
- set {uuid::%player%.xp} to 0
- set {uuid::%player%.level} to 1
- set {uuid::%player%.itemadd} to 0
- message "&b君の負け(reset)! &cなんでリセットされたら 考えておいてください、 &6そしたら何かが見えてくるはずです"
- every tick:
- loop all players:
- if {uuid::%loop-player%.automaker} = 114514:
- if loop-player have 64 cobblestone:
- command "/clear %loop-player% cobblestone 0 64"
- command "/menu grab %loop-player% cb-1"
- stop
- on mine:
- add 1 to {uuid::%player%.mc}
- command /automaker <number>:
- trigger:
- set {uuid::%player%.automaker} to arg
Advertisement
Add Comment
Please, Sign In to add comment