Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with prismarine crystal:
- name of player's tool is "&cStat Track":
- cancel event
- {stattrack.%player%} is true:
- send "&4[&cStatTrack&4] &cale lepiej najpierw uzyc jednego stattracka"
- stop
- set {stattrack.%player%} to true
- wait 1 tick
- remove 1 of event-item from player's inventory
- send "&4[&cStatTrack&4] &eKliknij PPM trzymajac w rece przedmiot na ktory chcesz zalozyc Stat Trackera"
- on rightclick:
- type of player's tool is prismarine crystal:
- name of player's tool is "&cStat Track":
- stop
- {stattrack.%player%} is true:
- 1st line of lore of player's tool contains "&e&lKille: ":
- send "&4[&cStatTrack&4] &cStat Track zalozony na Stat Tracka? Moze lepiej nie..."
- stop
- set {_i} to type of event-item
- set lore of {_i} to "&e&lKille: &a0||%lore of player's tool%"
- name of player's tool is not set:
- set name of {_i} to "&4&l☢ Stat Track ☢"
- else:
- set name of {_i} to "%name of player's tool% &4&l☢ Stat Track ☢"
- remove 1 of event-item from player's inventory
- delete {stattrack.%player%}
- give player 1 of {_i}
- send "&4[&cStatTrack&4] &6Pomyslnie dodano Stat Trackera do przedmiotu w rece"
- on death of player:
- "%type of attacker%" is "player":
- first 10 characters of 1st line of lore of attacker's tool is "&e&lKille:":
- name of attacker's tool do not contain "&4&l☢ Stat Track ☢":
- name of attacker's tool is not set:
- set name of attacker's tool to "&4&l☢ Stat Track ☢"
- else:
- set name of attacker's tool to "%name of attacker's tool% &r&4&l☢ Stat Track ☢"
- set {_t} to "%attacker's tool%"
- set {_t} to first character of {_t} parsed as integer
- {_t} is integer:
- send "&cStatSrack dziala tylko kiedy w rece trzymasz jeden przedmiot" to attacker
- stop
- set {_lore} to 1st line of lore of attacker's tool
- replace first 13 characters of {_lore} with "" in {_lore}
- set {_kills} to {_lore} parsed as integer
- add 1 to {_kills}
- {_kills} is bigger than 500:
- {_kills} is bigger than 800:
- last 9 characters of name of attacker's tool is not "&6&lҳ̸Ҳ̸ҳ":
- set name of attacker's tool to "%name of attacker's tool% &6&lҳ̸Ҳ̸ҳ"
- set 1st line of lore of attacker's tool to "&e&lKille: &4%{_kills}%"
- stop
- {_kills} is bigger than 200:
- set 1st line of lore of attacker's tool to "&e&lKille: &3%{_kills}%"
- stop
- {_kills} is bigger than 100:
- set 1st line of lore of attacker's tool to "&e&lKille: &2%{_kills}%"
- stop
- {_kills} is bigger than 30:
- set 1st line of lore of attacker's tool to "&e&lKille: &c%{_kills}%"
- stop
- {_kills} is bigger than 10:
- set 1st line of lore of attacker's tool to "&e&lKille: &b%{_kills}%"
- stop
- {_kills} is set:
- set 1st line of lore of attacker's tool to "&e&lKille: &a%{_kills}%"
- stop
- on chat:
- if last 9 characters of name of player's tool is "&6&lҳ̸Ҳ̸ҳ":
- set player's prefix to "%player's prefix%&6&lҳ̸Ҳ̸ҳ "
- else:
- if player's prefix contains "&6&lҳ̸Ҳ̸ҳ ":
- set {_p} to player's prefix
- replace every "&6&lҳ̸Ҳ̸ҳ " with "" in {_p}
- set player's prefix to {_p}
Advertisement
Add Comment
Please, Sign In to add comment