Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {lvl::%player%} = 1
- {exp::%player%} = 0
- {wymag::%player%} = 100
- options:
- next: 1,2
- tag: &8[&6Parkour&8]
- chat: &8[&3LvL {LVL}&8] &8{PLAYER} &2:&c&o {MESSAGE}
- on chat:
- cancel event
- set {_chat} to "{@chat}"
- replace all "{PLAYER}" with "%colored display name of player%" in {_chat}
- replace all "{MESSAGE}" with "%colored message%" in {_chat}
- replace all "{LVL}" with "%{lvl::%player%}%" in {_chat}
- broadcast "%{_chat}%"
- on death:
- if attacker is a player:
- if victim is a zombie or wither skeleton or sheep or Slime or spider:
- add 10 to {exp::%attacker%}
- if {exp::%attacker%} > {wymag::%attacker%}:
- if {lvl::%attacker%} < 250:
- set {_exp} to ({exp::%attacker%} - {wymag::%attacker%})
- set {exp::%attacker%} to {_exp}
- set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6)
- add 1 to {lvl::%attacker%}
- send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker
- if {lvl::%attacker%} = 10:
- send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players
- if {lvl::%attacker%} = 20:
- send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players
- if {lvl::%attacker%} = 30:
- send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players
- if {lvl::%attacker%} = 40:
- send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players
- else:
- send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker
- command /poziom [<text>]:
- trigger:
- set {_next} to ({wymag::%player%} - {exp::%player%})
- send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7."
- send "&8> &7Wymagane: &6%{wymag::%player%}% &6xp"
- command /samobojstwo:
- trigger:
- kill player
- send "Gracz %player% popełnił samobójstwo używając do tego komendy /samobojstwo ."
- command /kolorki:
- description: Wyświetla przyisanie kolorów.
- trigger:
- send "Kolorki: &aa &bb &cc &dd &ee &ff &00 &11 &22 &33 &44 &55 &66 &77 &88 &99" to player
- command /resetwymag:
- trigger:
- set {wymag::%player%} to 100
- command /resetpoziom:
- description: Resetuje poziom gracza
- trigger:
- set {wymag::%player%} to 100
- set {exp::%player%} to 0
- set {lvl::%player%} to 1
- send "&8> &7Pomyślnie zresetowałeś swój poziom" to player
Advertisement
Add Comment
Please, Sign In to add comment