Advertisement
K2Rk1o

aaa

Oct 13th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. Variables:
  2. {xp.%player%} = 0
  3. {level.$player%} = 1
  4. {xpmax.%player%} = 10
  5. {xpupgrade.%player%} =10
  6.  
  7.  
  8. on death:
  9. attacker is a player
  10. victim is a monster:
  11. add 3 to {xp.%attacker%}
  12. send "&7Mob oldurdugun icin &e%{xp.attacker%}% &f( &6+3 &f) kazandin." to attacker
  13. victim is a animal:
  14. add 3 to {xp.%attacker%}
  15. send "&7Mob oldurdugun icin &e%{xp.attacker%}% &f( &6+3 &f) kazandin." to attacker
  16. victim is a player:
  17. add 3 to {xp.%attacker%}
  18. send "&7Mob oldurdugun icin &e%{xp.attacker%}% &f( &6+3 &f) kazandin." to attacker
  19. if {xp,%attacker%} is greater than or equal to {xpmax.%attacker%}:
  20. add {xpupgrade.%player%} to {xpmax.%player%}
  21. add 10 to {xpupgrade.%player%}
  22. set {xp.%attacker%} to 0
  23. add 1 to {level.%attacker%}
  24. send "&aLevel atladin &f( &f%{level.%attacker%}% &7)" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement