Skocz do zawartości
  • 0

Blok


kuba44a1

Pytanie

14 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on place of bedrock:
	set block to air
	set {_x} to location of event-block
	loop {lokacje::*}:
		if {_x} contains loop-value:
			remove {_x} from {lokacje::*}
			send "&cUsunales bariere z: &4%{_x}%"
		else:
			add {_x} to {lokacje::*}
			send "&aDodales bariere: &2%{_x}%"

on any move:
	set {_x} to location of player
	loop {lokacje::*}:
		if {_x} > loop-value:
			cancel event
			send "&cBariera!"
			exit loop

Może zadziała :D Bariera to bedrock, ktory znika.

Edytowane przez KrejzolekPRO
Odnośnik do komentarza
https://skript.pl/temat/17847-blok/#findComment-122067
Udostępnij na innych stronach

  • 0
on place of sponge:
	cancel event
	set {_x} to location of event-block
	loop {lokacje::*}:
		if {_x} contains loop-value:
			remove {_x} from {lokacje::*}
			send "&cUsunales bariere z: &4%{_x}%"
		else:
			add {_x} to {lokacje::*}
			send "&aDodales bariere: &2%{_x}%"

on any move:
	set {_x} to location of player
	loop {lokacje::*}:
		if {_x} > loop-value:
			cancel event
			send "&cBariera!"
			exit loop

 

Odnośnik do komentarza
https://skript.pl/temat/17847-blok/#findComment-122070
Udostępnij na innych stronach

  • 0
on place:
	if event-block is sponge named "&cNiezniszczalna!"
      set block to air
      set {_x} to location of event-block
      loop {lokacje::*}:
          if {_x} contains loop-value:
              remove {_x} from {lokacje::*}
              send "&cUsunales bariere z: &4%{_x}%"
          else:
              add {_x} to {lokacje::*}
              send "&aDodales bariere: &2%{_x}%"

on any move:
	set {_x} to location of player
	loop {lokacje::*}:
		if {_x} > loop-value:
			cancel event
			send "&cBariera!"
			exit loop

command /daj:
	trigger:
		give player sponge named "&cNiezniszczalna!"

//wytabuj.

Edytowane przez KrejzolekPRO
Odnośnik do komentarza
https://skript.pl/temat/17847-blok/#findComment-122072
Udostępnij na innych stronach

  • 0
on place:
	player's tool is sponge of unbreaking 1 named "Bariera":
		cancel event
		set {_x} to location of event-block
		loop {lokacje::*}:
			if {_x} contains loop-value:
				remove {_x} from {lokacje::*}
				send "&cUsunales bariere z: &4%{_x}%"
			else:
				add {_x} to {lokacje::*}
				send "&aDodales bariere: &2%{_x}%"

every 10 ticks:
	loop all players:
		set {_x} to location of loop-player
	loop {lokacje::*}:
		if {_x} > loop-value:
			cancel event
			send "&cBariera!"
			exit loop

command /bariera:
	trigger:
		give sponge of unbreaking 1 named "Bariera" to player

 

Odnośnik do komentarza
https://skript.pl/temat/17847-blok/#findComment-122073
Udostępnij na innych stronach

  • 0
on place:
    player's tool is sponge of unbreaking 1 named "Bariera":
        cancel event
        set {_x} to location of event-block
        loop {lokacje::*}:
            if {_x} contains loop-value:
                remove {_x} from {lokacje::*}
                send "&cUsunales bariere z: &4%{_x}%"
            else:
                add {_x} to {lokacje::*}
                send "&aDodales bariere: &2%{_x}%"

on any move:
    set {_x} to location of player
    loop {lokacje::*}:
        if {_x} > loop-value:
            loop blocks in
            send "&cBariera!"
            exit loop

command /bariera:
    trigger:
        give sponge of unbreaking 1 named "Bariera" to player

 

Odnośnik do komentarza
https://skript.pl/temat/17847-blok/#findComment-122089
Udostępnij na innych stronach

  • 0
on any move:
    set {_x} to location of player
    loop {lokacje::*}:
        if distance between {_x} and loop-value < 0.4:
            cancel event
            send "&cBariera!"
            exit loop

 

Odnośnik do komentarza
https://skript.pl/temat/17847-blok/#findComment-122127
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ę...