Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {skillnum.%player%} to 1
- set {asaruto.%player%} to 0
- on right click on an anvil:
- cancel event
- on rightclick:
- if name of item is "3*3*3スキル":
- set {skillnum.%player%} to 3
- else if name of item is "5*5*5スキル":
- set {skillnum.%player%} to 5
- else if name of item is "7*7*7スキル":
- set {skillnum.%player%} to 7
- else if name of item is "9*9*9スキル":
- set {skillnum.%player%} to 9
- else if name of item is "11*11*11スキル":
- set {skillnum.%player%} to 11
- else if name of item is "13*13*13スキル":
- set {skillnum.%player%} to 13
- else if name of item is "15*15*15スキル":
- set {skillnum.%player%} to 15
- else if name of item is "&1ア&2サ&3ル&4ト":
- set {asaruto.%player%} to 1
- else if name of item is "&1ア&2サ&3ル&4ト&5改":
- set {asaruto.%player%} to 2
- else if name of item is "&2ワールド&3エ&4ン&5ダ&8ー":
- set {asaruto.%player%} to 3
- set {skillnum.%player%} to 30
- command /ef1:
- trigger:
- execute console command "/effect %player% 16 99999 255"
- command /gomi:
- trigger:
- open chest with 3 rows named "ゴミ箱" to player
- command /tpn:
- trigger:
- teleport player to {spawn1}
- command /tpe:
- trigger:
- teleport player to {spawn2}
- command /tptest:
- permission:admin
- trigger:
- if world of player is "world":
- set {spawn} to location of player
- if world of player is "world_nether":
- set {spawn1} to location of player
- if world of player is "world_the_end":
- set {spawn2} to location of player
- command /skillnumset <number>:
- permission:admin
- trigger:
- set {skillnum.%player%} to arg-1
- command /asaruto:
- trigger:
- set {asaruto.%player%} to 0
- command /hani:
- trigger:
- set {skillnumset.%player%} to 0
- command /sp <number> <text>:
- trigger:
- if arg-2 is "n":
- execute console command "/give @p[name=%player%,score_SeichiP_min=%arg-1%] minecraft:gold_nugget %arg-1% 0 {display:{Name:""1SP""},Unbreakable:1b,ench:[{id:32s,lvl:0s}],HideFlags:7}"
- execute console command "/scoreboard players remove @p[name=%player%,score_SeichiP_min=%arg-1%] SeichiP %arg-1%"
- if arg-2 is "i":
- execute console command "/give @p[name=%player%,score_SeichiP_min=%arg-1*9%] minecraft:gold_ingot %arg-1% 0 {display:{Name:""9SP""},Unbreakable:1b,ench:[{id:32s,lvl:0s}],HideFlags:7}"
- execute console command "/scoreboard players remove @p[name=%player%,score_SeichiP_min=%arg-1*9%] SeichiP %arg-1*9%"
- if arg-2 is "b":
- execute console command "/give @p[name=%player%,score_SeichiP_min=%arg-1*81%] minecraft:gold_block %arg-1% 0 {display:{Name:""81SP""},Unbreakable:1b,ench:[{id:32s,lvl:0s}],HideFlags:7}"
- execute console command "/scoreboard players remove @p[name=%player%,score_SeichiP_min=%arg-1*81%] SeichiP %arg-1*81%"
- if arg-2 is "b2":
- execute console command "/give @p[name=%player%,score_SeichiP_min=%arg-1*729%] minecraft:gold_block %arg-1% 0 {display:{Name:""729SP""},Unbreakable:1b,ench:[{id:32s,lvl:0s}],HideFlags:7}"
- execute console command "/scoreboard players remove @p[name=%player%,score_SeichiP_min=%arg-1*729%] SeichiP %arg-1*729%"
- if arg-2 is "b3":
- execute console command "/give @p[name=%player%,score_SeichiP_min=%arg-1*6561%] minecraft:gold_block %arg-1% 0 {display:{Name:""6561SP""},Unbreakable:1b,ench:[{id:32s,lvl:0s}],HideFlags:7}"
- execute console command "/scoreboard players remove @p[name=%player%,score_SeichiP_min=%arg-1*6561%] SeichiP %arg-1*6561%"
- if arg-2 is "b4":
- execute console command "/give @p[name=%player%,score_SeichiP_min=%arg-1*59049%] minecraft:gold_block %arg-1% 0 {display:{Name:""59049SP""},Unbreakable:1b,ench:[{id:32s,lvl:0s}],HideFlags:7}"
- execute console command "/scoreboard players remove @p[name=%player%,score_SeichiP_min=%arg-1*59049%] SeichiP %arg-1*59049%"
- if arg-2 is "b5":
- execute console command "/give @p[name=%player%,score_SeichiP_min=%arg-1*531441%] minecraft:gold_block %arg-1% 0 {display:{Name:""531441SP""},Unbreakable:1b,ench:[{id:32s,lvl:0s}],HideFlags:7}"
- execute console command "/scoreboard players remove @p[name=%player%,score_SeichiP_min=%arg-1*531441%] SeichiP %arg-1*531441%"
- on mine:
- set {_waited} to difference between {skill.%player%.lastused} and now
- if {skillnum.%player%} is 1:
- execute console command "/scoreboard players add %player% SeichiP 1"
- execute console command "/scoreboard players add %player% SeichiAll 1"
- stop
- if {skillnum.%player%} is 3:
- if {_waited} is less than 1 seconds:
- stop
- else if {skillnum.%player%} is 5:
- if {_waited} is less than 2 seconds:
- stop
- else if {skillnum.%player%} is 7:
- if {_waited} is less than 3 seconds:
- stop
- else if {skillnum.%player%} is 9:
- if {_waited} is less than 4 seconds:
- stop
- else if {skillnum.%player%} is 11:
- if {_waited} is less than 5 seconds:
- stop
- else if {skillnum.%player%} is 13:
- if {_waited} is less than 6 seconds:
- stop
- else if {skillnum.%player%} is 15:
- if {_waited} is less than 7 seconds:
- stop
- set {_1} to location of event-block
- set {_2} to location of event-block
- if player's pitch is between -50 and 50:
- add ({skillnum.%player%}-2) to y-coord of {_1}
- subtract 1 from y-coord of {_2}
- if player's horizontal facing is west or east:
- add ({skillnum.%player%}/2-0.5) to z-coord of {_1}
- add ({skillnum.%player%}/2-0.5) to x-coord of {_1}
- subtract ({skillnum.%player%}/2-0.5) from z-coord of {_2}
- subtract ({skillnum.%player%}/2-0.5) from x-coord of {_2}
- loop blocks within {_1} to {_2}:
- loop-block is not bedrock
- loop-block is not air
- set loop-block to air
- execute console command "/scoreboard players add %player% SeichiP 1"
- execute console command "/scoreboard players add %player% SeichiAll 1"
- set {skill.%player%.lastused} to now
- else if player's horizontal facing is north or south:
- add ({skillnum.%player%}/2-0.5) to x-coord of {_1}
- add ({skillnum.%player%}/2-0.5) to z-coord of {_1}
- subtract ({skillnum.%player%}/2-0.5) from x-coord of {_2}
- subtract ({skillnum.%player%}/2-0.5) from z-coord of {_2}
- loop blocks within {_1} to {_2}:
- loop-block is not bedrock
- loop-block is not air
- set loop-block to air
- execute console command "/scoreboard players add %player% SeichiP 1"
- execute console command "/scoreboard players add %player% SeichiAll 1"
- set {skill.%player%.lastused} to now
- else:
- add ({skillnum.%player%}/2-0.5) to x-coord of {_1}
- add ({skillnum.%player%}/2-0.5) to z-coord of {_1}
- subtract ({skillnum.%player%}/2-0.5) from x-coord of {_2}
- subtract ({skillnum.%player%}/2-0.5) from z-coord of {_2}
- loop blocks within {_1} to {_2}:
- loop-block is not bedrock
- loop-block is not air
- set loop-block to air
- execute console command "/scoreboard players add %player% SeichiP 1"
- execute console command "/scoreboard players add %player% SeichiAll 1"
- set {skill.%player%.lastused} to now
- on any movement:
- if {asaruto.%player%} is 1:
- set {_5} to location of player
- set {_6} to location of player
- add 11 to y-coord of {_6}
- add 5 to x-coord of {_5}
- add 5 to z-coord of {_5}
- subtract 5 from x-coord of {_6}
- subtract 5 from z-coord of {_6}
- loop blocks within {_5} to {_6}:
- loop-block is not bedrock
- loop-block is not command block
- loop-block is not lever
- loop-block is not ender chest
- loop-block is not chest
- loop-block is not air
- loop-block is not repeating command block
- loop-block is not chain command block
- set loop-block to air
- execute console command "/scoreboard players add %player% SeichiP 1"
- execute console command "/scoreboard players add %player% SeichiAll 1"
- if {asaruto.%player%} is 2:
- set {_5} to location of player
- set {_6} to location of player
- add 20 to y-coord of {_6}
- add 10 to x-coord of {_5}
- add 10 to z-coord of {_5}
- subtract 10 from x-coord of {_6}
- subtract 10 from z-coord of {_6}
- loop blocks within {_5} to {_6}:
- loop-block is not bedrock
- loop-block is not command block
- loop-block is not lever
- loop-block is not ender chest
- loop-block is not chest
- loop-block is not air
- loop-block is not repeating command block
- loop-block is not chain command block
- set loop-block to air
- execute console command "/scoreboard players add %player% SeichiP 1"
- execute console command "/scoreboard players add %player% SeichiAll 1"
- if {asaruto.%player%} is 3:
- set {_7} to location of player
- set {_8} to location of player
- add 30 to y-coord of {_8}
- add 15 to x-coord of {_7}
- add 15 to z-coord of {_7}
- subtract 15 from x-coord of {_8}
- subtract 15 from z-coord of {_8}
- loop blocks within {_7} to {_8}:
- loop-block is not bedrock
- loop-block is not command block
- loop-block is not lever
- loop-block is not ender chest
- loop-block is not chest
- loop-block is not air
- loop-block is not repeating command block
- loop-block is not chain command block
- set loop-block to air
- execute console command "/scoreboard players add %player% SeichiP 1"
- execute console command "/scoreboard players add %player% SeichiAll 1"
- set {_3} to location of player
- set {_4} to location of player
- subtract {skillnum.%player%} from y-coord of {_4}
- add ({skillnum.%player%}/2-0.5) to x-coord of {_3}
- add ({skillnum.%player%}/2-0.5) to z-coord of {_3}
- subtract ({skillnum.%player%}/2-0.5) from x-coord of {_4}
- subtract ({skillnum.%player%}/2-0.5) from z-coord of {_4}
- loop blocks within {_3} to {_4}:
- loop-block is water or lava
- set loop-block to packed ice
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement