Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every seconds:
- loop all players:
- if {level::%loop-player%} is not set:
- set {level::%loop-player%} to 1
- if {needexp::%loop-player%} is not set:
- set {needexp::%loop-player%} to 10
- if {exp::%loop-player%} is not set:
- set {exp::%loop-player%} to 0
- if {sp::%loop-player%} is not set:
- set {sp::%loop-player%} to 0
- if {a.%loop-player%} is not set:
- set {a.%loop-player%} to 3
- if {b.%loop-player%} is not set:
- set {b.%loop-player%} to 5
- every seconds:
- loop all players:
- if {exp::%loop-player%} >= {needexp::%loop-player%}:
- add 1 to {level::%loop-player%}
- set {needexp::%loop-player%} to round({needexp::%loop-player%} * 1.2 + {level::%loop-player%})
- set {exp::%loop-player%} to 0
- add 1 to {sp::%loop-player%}
- message "&e=========================" to loop-player
- message "&a&lLevel Up!!" to loop-player
- message "&a現在の&eレベル&8: &c&l%{level::%loop-player%}%" to loop-player
- message "&e=========================" to loop-player
- on left click holding a stick:
- if {ya.%player%} is set:
- cancel event
- else:
- set {ya.%player%} to 3
- shoot arrow at speed {b.%player%}
- every 2 tick:
- loop all players:
- if {ya.%loop-player%} is set:
- remove 0.1 from {ya.%loop-player%}
- play entity_item_pickup at loop-player with volume 1 and pitch 1
- if {ya.%loop-player%} <= 0:
- delete {ya.%loop-player%}
- play entity_experience_orb_pickup at loop-player with volume 1 and pitch 1
- every tick:
- loop all players:
- if {ya.%loop-player%} is set:
- send action bar "&c%{ya.%loop-player%}%" to loop-player
- else:
- send action bar "&e&l装填完了!!!" to loop-player
- on damage of player:
- if projectile is arrow:
- attacker is a player
- kill the victim
- play entity_firework_blast at attacker with volume 1 and pitch 1
- broadcast "&c%attacker% &e=> &b%victim%"
- add {a.%player%} to {exp::%player%}
- command /battle:
- trigger:
- set {ggg} to random integer between 1 and 5
- if {ggg} is 1:
- teleport {1} to player
- if {ggg} is 2:
- teleport {2} to player
- if {ggg} is 3:
- teleport {3} to player
- if {ggg} is 4:
- teleport {4} to player
- if {ggg} is 5:
- teleport {5} to player
- command /battleset [<text>]:
- permission: sk.admin
- trigger:
- if arg-1 is "1":
- set {1} to location of player
- if arg-1 is "2":
- set {2} to location of player
- if arg-1 is "3":
- set {3} to location of player
- if arg-1 is "4":
- set {4} to location of player
- if arg-1 is "5":
- set {5} to location of player
- on right click holding a stick:
- if {skill1.%player%} is set:
- push player forward at speed 5
- else:
- cancel event
- command /gunspeedup:
- trigger:
- if {sp::%player%} >= 1:
- add 0.2 to {b.%player%}
- message "&e&l強化完了!!"
- else:
- message "&bSP&cたりねえ"
- command /gunup:
- trigger:
- if {sp::%player%} >= 5:
- if {skill1.%player%} is not set:
- set {skill1.%player%} to 1
- command /status [<offline player>]:
- trigger:
- if arg-1 is not set:
- message "&e========================="
- message "&a現在の&eレベル&8: &c&l%{level::%player%}%"
- message "&a必要&eExp&8: &c&l%{exp::%player%}%&e/%{needexp::%player%}%"
- message "&e========================="
- else:
- message "&e========================="
- message "&d%arg-1% さんのデータ"
- message "&a現在の&eレベル&8: &c&l%{level::%arg-1%}%"
- message "&a必要&eExp&8: &c&l%{exp::%arg-1%}%&e/%{needexp::%arg-1%}%"
- message "&e========================="
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement