Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {Lv::%Player%} is not set:
- set {nextlv.%Player%} to 5
- set {exp.%Player%} to 0
- set {Lv::%Player%} to 1
- function Lvup(p: player):
- while {exp.%{_p}%}+1 is more than {nextlv.%{_p}%}:
- remove {nextlv.%{_p}%} from {exp.%{_p}%}
- add 1 to {Lv::%{_p}%}
- set {nextlv.%{_p}%} to round({nextlv.%{_p}%} * 1.2)
- send "&b======================" to {_p}
- send "&c&lLevel UP !!" to {_p}
- send "&7&lLevel &7&l%{Lv::%{_p}%}-1% &f→ &6&lLevel &6&l%{Lv::%{_p}%}%" to {_p}
- send "&b======================" to {_p}
- command /gun-status:
- permission: admin.sk
- trigger:
- loop all Players:
- if {Lv::%loop-Player%} is not set:
- set {nextlv.%loop-Player%} to 5
- set {exp.%loop-Player%} to 0
- set {Lv::%loop-Player%} to 1
- on death of Player:
- add 1 to {exp.%attacker%}
- add 4 of emerald to attacker
- Lvup(attacker)
- add 1 to {Kill.%attacker%}
- add 1 to {Death.%victim%}
- set {KD.%attacker%} to {Kill.%attacker%} / {Death.%attacker%}
- set {KD.%victim%} to {Kill.%victim%} / {Death.%victim%}
- every 1 second:
- loop all Players:
- set action bar of loop-Player to "&e&l%loop-Player% &b&l[&f&l%{Lv::%loop-Player%}%Lv&b&l] [&f&l%{exp.%loop-Player%}%&b&l/&f&l%{nextlv.%loop-Player%}%&b&l]"
- command /status:
- aliases: /s /st
- trigger:
- send "&b==========================" to player
- send "&aあなたのステータス情報" to player
- send "&6Lv: %{Lv::%Player%}%" to player
- send "&6NextLv: %{nextlv.%Player%}%" to player
- send "&6Death: %{Death.%Player%}%" to player
- send "&6Kill: %{Kill.%Player%}%" to player
- send "&6K/D Rate: %{KD.%Player%}%" to player
- send "&b==========================" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement