Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on connect:
- add 0 to {level.%player%}
- add 0 to {exp.%player%}
- on death of zombie:
- attacker is a player:
- attacker is holding stone sword:
- chance of 50%:
- add 1 to {exp.%attacker%}
- send "&eEXP &8» &7+1" to attacker
- chance of 25%:
- add 2 to {exp.%attacker%}
- send "&eEXP &8» &7+2" to attacker
- chance of 12.5%:
- add 3 to {exp.%attacker%}
- send "&eEXP &8» &7+3" to attacker
- chance of 6.25%:
- add 4 to {exp.%attacker%}
- send "&eEXP &8» &7+4" to attacker
- chance of 3.125
- add 5 to {exp.%attacker%}
- send "&eEXP &8» &7+5" to attacker
- chance of 0.0005%:
- add 100 to {exp.%attacker%}
- send "&eEXP &8» &5JACKPOT &7+100" to attacker
- set 1st line of attacker's tool to "&eEXP &8» &e%{exp.%attacker%}%&7/&e150"
- set 2nd line of attacker's tool to "&eLevel &8» &e%{level.%attacker%}"
- on death of skeleton:
- attacker is a player:
- attacker is holding stone sword:
- chance of 50%:
- add 1 to {exp.%attacker%}
- send "&eEXP &8» &7+1" to attacker
- chance of 25%:
- add 2 to {exp.%attacker%}
- send "&eEXP &8» &7+2" to attacker
- chance of 12.5%:
- add 3 to {exp.%attacker%}
- send "&eEXP &8» &7+3" to attacker
- chance of 6.25%:
- add 4 to {exp.%attacker%}
- send "&eEXP &8» &7+4" to attacker
- chance of 3.125
- add 5 to {exp.%attacker%}
- send "&eEXP &8» &7+5" to attacker
- chance of 0.0005%:
- add 100 to {exp.%attacker%}
- send "&eEXP &8» &5JACKPOT &7+100" to attacker
- set 1st line of attacker's tool to "&eEXP &8» &e%{exp.%attacker%}%&7/&e150"
- set 2nd line of attacker's tool to "&eLevel &8» &e%{level.%attacker%}"
- every tick:
- loop every player:
- if {exp.%loop-player%} is more than 150:
- add 1 to {level.%loop-player%}
- remove 150 from {exp.%loop-player%}
- send "&cMagicaRPG &8» &7You have reached Level &c%{level.%loop-player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement