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 name of attacker's tool to "&4EXP: &c{exp.%attacker%}% &4Level: &c%{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 name of attacker's tool to "&4EXP: &c{exp.%attacker%}% &4Level: &c%{level.%attacker%}%"
- every tick in all worlds:
- loop all players:
- if {exp.%loop-player%} is more than 150:
- add 1 to {level.%loop-player%}
- remove 150 from {exp.%loop-player%}
- send "&9AdeptRPG &8» &7You have reached Level &c%{level.%loop-player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement