Skocz do zawartości
  • 0

Prośba o pomoc w skrypcie na kowala


Pytanie

Spoiler

options:
    linijki: 1
    nazwaPlecakaWGui: &fKowal
    
on damage:
        if name of victim contains "&2&lKowal":
            cancel event

        loop {@linijki}*9 times:
                set slot loop-number - 1 of current inventory of player to {nBackpack::%player%::%loop-number%}
        format slot 0 of player with 1 of stained glass pane named " " to be unstealable
        format slot 1 of player with 1 of stained glass pane named " " to be unstealable
        format slot 2 of player with 1 of stained glass pane named " " to be unstealable
        format slot 3 of player with 1 of anvil named "&8&lUlepszanie!" with lore " &eSzansa na pierwsze ulepszenie 90%%|| &eSzansa na drugie ulepszenie 50%%|| &eSzansa na trzecie ulepszenie 20%%" to close then run [execute player command "/plus add sharpness 8"]
        format slot 4 of player with 1 of stained glass pane named " " to be unstealable
        format slot 5 of player with 1 of torch named "&8&lDalsze poziomy!" with lore "&5Koszt &d100 000!" to close then run [execute player command "/tp %player% 100 100 100"]
        format slot 6 of player with 1 of stained glass pane named " " to be unstealable
        format slot 7 of player with 1 of stained glass pane named " " to be unstealable
        format slot 8 of player with 1 of stained glass pane named " " to be unstealable
        
on inventory close:
    if inventory name of current inventory of player is "{@nazwaPlecakaWGui}":
        clear {nBackpack::%player%::*}
        loop {@linijki}*9 times:
            set {nBackpack::%player%::%loop-number%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player

 

 

Dlaczego to nie działa? Może ktoś pomóc?

//Wrzucam kod w spoiler i poprawiam błędy ortograficzne ~Ixidi

Edytowane przez Ewald
Odnośnik do komentarza
https://skript.pl/temat/23485-pro%C5%9Bba-o-pomoc-w-skrypcie-na-kowala/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

zmieniłem i nadal niedziała to samo wyskakuje

 

czekajcie wyśle wam skrypta całego sek

 

macie całego skrypta można prośić o pomoc pls http://wklej.org/id/3317972/

 

to jest 2 

on right click on zombie:
	cancel event
	open chest with 3 rows named "&8» &6&lKOWAL &8«" to the player
	format slot 11 of player with 1 of diamond sword named "&8» &e&lULEPSZANIE &6&lMIECZA" with lore "&8• &cSzansa: &710%%" to close then run [make player execute command "ulepsz sword" as op]
	stop

command /esej:ulepsz [<text>]:
	description: Ulepszanie
	aliases: /ulepsz
	trigger:
		if argument is "sword":
			if {ulepsz::miecz::%player%} isn't set:
				chance of 10%:
					set {ulepsz::miecz::%player%} to true
					loop player's inventory:
						if loop-item is diamond sword:
							if loop-item is enchanted with sharpness 5:
								enchant loop-item with sharpness 6
								send "&8» &6Udalo Ci sie! &eUlepszyles miecz" to the player
								stop
							else:
								enchant loop-item with sharpness 5
								send "&8» &6&lENCHANTED WITH &CSHARPNESS 5" to the player
						else:
							send "&cMIECZA NIE MASZ" to the player
					stop
			else:
				send "spalil sie"
Odnośnik do komentarza
https://skript.pl/temat/23485-pro%C5%9Bba-o-pomoc-w-skrypcie-na-kowala/#findComment-159510
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ę...