Skocz do zawartości

niktus

Użytkownik
  • Ilość zawartości

    1
  • Rejestracja

  • Ostatnia wizyta

Osiągnięcia niktus

Świeżak

Świeżak (1/13)

0

Reputacja

  1. function Mob(ilosc: number, p: player, cos: number, wiadomosc: string): if {%{_cos}%::%{_p}%} is false: if {kille::%{_cos}%::%{_p}%} >= {_ilosc}: send "&cZabiles juz %{_ilosc}%&c %{_wiadomosc}%&c!" to {_p} if {kille::%{_cos}%::%{_p}%} <= {_ilosc} - 1: add 1 to {kille::%{_cos}%::%{_p}%} send "&a&lZabiles %{kille::%{_cos}%::%{_p}%}%&a&l/%{_ilosc}%&a&l %{_wiadomosc}%&a&l!" to {_p} function Quest(npc: string, nazwa: string, lore: string, lore2: string, lore3: string, expo: number, daj: number, exp: number, pl: player): if distance between {_pl} and target of {_pl} is smaller than 4: open chest with 1 row named "%{_npc}%" to {_pl} wait 2 tick set slot 4 of current inventory of {_pl} to 1 paper of unbreaking 10 named "%{_nazwa}%" with lore "%{_lore}%", "%{_lore2}%" and "%{_lore3}%" if {%{_expo}%::%{_pl}%} is true: set slot 4 of current inventory of {_pl} to 1 red wool named "&cUkonczono" send "&eNie mam juz dla ciebie zadnych zadan!" to {_pl} if {kille::%{_expo}%::%{_pl}%} >= {_daj}: send "&a&lUkonczyles zadanie: %{_nazwa}%" to {_pl} set {kille::%{_expo}%::%{_pl}%} to 0 add {_exp} to {lvl::xp::%{_pl}%} send "&a&lOtrzymales %{_exp}% &a&lEXP! (Quest)" to {_pl} set {%{_expo}%::%{_pl}%} to true send "&6&l%{_pl}%&2 ukonczyl quest: %{_nazwa}%" to all players wait 2 tick set slot 4 of current inventory of {_pl} to 1 red wool named "&cUkonczono" Funkcja Mob nie działa 1 słowem.
×
×
  • Dodaj nową pozycję...