Skocz do zawartości
  • 0

Skrypt na stoniarke


klein1234

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:
  prefix: IP &c»
on place:
  if player's tool is diamond ore of unbreaking 10 named "{@prefix} &7Stoniarka" with lore "&eMozna ja zniszczyc zlotym kilofem!":
    if {stoniarka::%event-block%} is not set:
      wait 1 tick
      if event-block is diamond ore:
        set event-block to stone
        set {stoniarka::%event-block%} to true
        set action bar of player to "&ePostawiles stoniarke!"
      else:
        set block to air
        send "{@prefix} &7Nie mozesz tutaj postawic stoniarki!"
    else:
      cancel event
      send "{@prefix} &7W tym miejscu jest juz stoniarka!"
on mine:
  if {stoniarka::%event-block%} is set:
    if player's tool is any golden pickaxe:
      cancel event
      set event-block to air
      drop 1 diamond ore of unbreaking 10 named "{@prefix} &7Stoniarka" with lore "&eMozna ja zniszczyc zlotym kilofem!" at event-block
      clear {stoniarka::%event-block%}
      set action bar of player to "&eZniszczyles stoniarke!"
    else:
      wait 1 second
      set event-block to stone
on script load:
  register new shaped recipe for diamond ore of unbreaking 10 named "{@prefix} &7Stoniarka" with lore "&eMozna ja zniszczyc zlotym kilofem!" using stone, stone, stone, diamond, emerald, diamond, stone, stone, stone

stary ale działa

Odnośnik do komentarza
https://skript.pl/temat/36260-skrypt-na-stoniarke/#findComment-231988
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...