Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set rf max hp of player to 40
- heal the player
- if {mp.%player%} is not set:
- set {mp.%player%} to 100
- on damage:
- execute console command "/particle blockcrack %x-coords of victim% %y-coords of victim% %z-coords of victim% 0.25 0.75 0.25 1 50 mode @a 152"
- on command:
- sender is player
- send "&7[CMD] %sender% >>> /%full command%" to ops
- on damage:
- wait a tick
- repair attacker's tool
- on death:
- wait a tick
- repair attacker's tool
- every a tick:
- loop all players:
- if level of loop-player is more than or equal to {mp.%loop-player%}:
- set level of loop-player to {mp.%loop-player%}
- level of loop-player is less than {mp.%loop-player%}
- if loop-player is sneaking:
- the block below loop-player is not air
- add {mp.%loop-player%} / 3000 to level progress of loop-player
- add {mp.%loop-player%} / 4500 to level progress of loop-player
- on respawn:
- wait a tick
- set level of player to {mp.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement