Skocz do zawartości
  • 0

Problem z Rzucanym TnT


serdelek69

Pytanie

Witam, posiadam problem z rzucanym tnt, które zamiast być skończone jest nieskończone

on load:
    set {_tnt} to "Rzucane TnT"
    new Recipe {_tnt};
    {_tnt}.Recipe.setIngredient{1, 64 tnt};
    {_tnt}.Recipe.setIngredient{2, 64 tnt};
    {_tnt}.Recipe.setIngredient{3, 64 tnt};
    {_tnt}.Recipe.setIngredient{4, 64 tnt};
    {_tnt}.Recipe.setIngredient{5, 64 tnt};
    {_tnt}.Recipe.setIngredient{6, 64 tnt};
    {_tnt}.Recipe.setIngredient{7, 64 tnt};
    {_tnt}.Recipe.setIngredient{8, 64 tnt};
    {_tnt}.Recipe.setIngredient{9, 64 tnt};
    {_tnt}.Recipe.setResult{tnt of unbreaking 10 named "&4Rzucane TnT"};
    {_tnt}.Recipe.register{};
on right click with tnt block:
    if name of player's tool is "&4Rzucane TnT":
        shoot a tnt from player with speed 0.2
        remove 1 tnt named "&4Rzucane TnT" from player
        stop
        
on place tnt block:
    if name of player's tool is "&&lRzucane Tnt":
        cancel event
        shoot a tnt from player with speed 0.2
        remove 1 tnt named "&4Rzucane TnT" from player
        stop
 

Odnośnik do komentarza
https://skript.pl/temat/36460-problem-z-rzucanym-tnt/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0
on rightclick:
	if tool of player is tnt named "&4&lRzucane TnT":
		shoot a tnt from player with speed 0.2
		wait 2 tick
		remove 1 of tnt named "&4&lRzucane TnT" from player
		stop
        
on place:
	if tool of player is tnt named "&4&lRzucane TnT":
		shoot a tnt from player with speed 0.2
		wait 2 tick
		remove 1 of tnt named "&4&lRzucane TnT" from player
		stop

Wymaga dodatku http://www.mediafire.com/file/c5auatrhta1mwck/morkazsk.zip/file

Skan:

https://www.virustotal.com/gui/url/967db44929544d2d6df175da89edddae7522c9df67587bfcba3cb7e95e0fc400/detection

Sprawdzone i działa.

Poniżej masz wersję z enchantem "unbreaking 10"

on rightclick:
	if tool of player is tnt of unbreaking 10 named "&4&lRzucane TnT":
		shoot a tnt from player with speed 0.2
		wait 2 tick
		remove 1 of tnt of unbreaking 10 named "&4&lRzucane TnT" from player
		stop
        
on place:
	if tool of player is tnt of unbreaking 10 named "&4&lRzucane TnT":
		shoot a tnt from player with speed 0.2
		wait 2 tick
		remove 1 of tnt of unbreaking 10 named "&4&lRzucane TnT" from player
		stop

 

Edytowane przez _MicX_
Odnośnik do komentarza
https://skript.pl/temat/36460-problem-z-rzucanym-tnt/#findComment-232981
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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