Skocz do zawartości
  • 0

Skrypt na BoyFarmer SandFarmer I Kopacz Fosy


GOSTbusters28
 Udostępnij

Pytanie

Witam, chciałbym aby ktoś napisał mi skrypt na BoyFarmer SandFarmer I Kopacz Fosy.

Chcę aby BoyFarmer i SandFarmer Działał 100 kratek w dół a kopacz fosy do Bedrocka.

Ostatnia ważna rzecz dla mnie to prefixy:

&1&lBoyFarmer

&e&lSandFarmer

&8&lKopacz Fosy

Z góry dziękuję za pomoc, mój skrypt na to nie działał :/ 

Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /dajmiterzeczy:
	trigger:
		add obsidian named "&1&lBoyFarmer" to player
		add sand named "&e&lSandFarmer" to player
		add stone named "&8&lKopacz Fosy" to player
on place of obsidian:
	if name of player's tool is "&1&lBoyFarmer":
		cancel event
		remove 1 obsidian named "&1&lBoyFarmer" from player
		set {_l} to location under event block
		loop 100 times:
			if block at {_l} is air:
				set block at {_l} to obsidian
				set {_l} to location under {_l}
			else:
				stop
on place of sand:
	if name of player's tool is "&e&lSandFarmer":
		cancel event
		remove 1 sand named "&e&lSandFarmer" from player
		set {_l} to location under event block
		loop 100 times:
			if block at {_l} is air:
				set block at {_l} to sand
				set {_l} to location under {_l}
			else:
				stop
on place of stone:
	if name of player's tool is "&8&lKopacz Fosy":
		cancel event
		remove 1 stone named "&8&lKopacz Fosy" from player
		set {_l} to location under event block
		loop 256 times:
			if block at {_l} is not bedrock:
				set block at {_l} to air
				set {_l} to location under {_l}
			else:
				stop

Powinno działać :P 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
37 minut temu, Grex napisał:
command /dajmiterzeczy:
	trigger:
		add obsidian named "&1&lBoyFarmer" to player
		add sand named "&e&lSandFarmer" to player
		add stone named "&8&lKopacz Fosy" to player
on place of obsidian:
	if name of player's tool is "&1&lBoyFarmer":
		cancel event
		remove 1 obsidian named "&1&lBoyFarmer" from player
		set {_l} to location under event block
		loop 100 times:
			if block at {_l} is air:
				set block at {_l} to obsidian
				set {_l} to location under {_l}
			else:
				stop
on place of sand:
	if name of player's tool is "&e&lSandFarmer":
		cancel event
		remove 1 sand named "&e&lSandFarmer" from player
		set {_l} to location under event block
		loop 100 times:
			if block at {_l} is air:
				set block at {_l} to sand
				set {_l} to location under {_l}
			else:
				stop
on place of stone:
	if name of player's tool is "&8&lKopacz Fosy":
		cancel event
		remove 1 stone named "&8&lKopacz Fosy" from player
		set {_l} to location under event block
		loop 256 times:
			if block at {_l} is not bedrock:
				set block at {_l} to air
				set {_l} to location under {_l}
			else:
				stop

Powinno działać :P 

Dzięki ziomuś <333

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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