Skocz do zawartości
  • 0

BLOKADA RZUCAKÓW NA SPAWN


QikLeLek

Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on rightclick:
        if name of player's tool is "&4Rzucane TnT":
                set {tnt.%player%} to true
                shoot a TNT from player with speed 0.4
                remove 1 tnt named "&4Rzucane TnT" from player
                wait 2 second
                set {tnt.%player%} to false
on place tnt:
        if {tnt.%player%} is true:
                cancel event
on script load:
        register new shaped recipe for TNT of infinity 1 named "&4Rzucane TnT" using iron ingot, iron ingot, iron ingot, iron ingot, tnt, iron ingot, iron ingot, iron ingot, iron ingot

 

Edytowane przez Vylence
Odnośnik do komentarza
https://skript.pl/temat/30080-blokada-rzucak%C3%B3w-na-spawn/#findComment-197242
Udostępnij na innych stronach

  • 0
on rightclick:
        if players isn't in region "spawn":
        if name of player's tool is "&4Rzucane TnT":
                set {tnt.%player%} to true
                shoot a TNT from player with speed 0.4
                remove 1 tnt named "&4Rzucane TnT" from player
                wait 2 second
                set {tnt.%player%} to false
else:
cancel event
on place tnt:
        if {tnt.%player%} is true:
                cancel event
on script load:
        register new shaped recipe for TNT of infinity 1 named "&4Rzucane TnT" using iron ingot, iron ingot, iron ingot, iron ingot, tnt, iron ingot, iron ingot, iron ingot, iron ingot

 

Edytowane przez ikosek
Odnośnik do komentarza
https://skript.pl/temat/30080-blokada-rzucak%C3%B3w-na-spawn/#findComment-206275
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ę...