Skocz do zawartości
  • 0

Naprawa skriptu


IprOseK

Pytanie

Witam naprawi mi ktos ten skript

on rightclick:
    player is holding a ender chest named "&6&lMistyczna Skrzynia":
        clear {RandomSet.%player%}
        remove 1 ender chest named "&6&lMistyczna Skrzynia" from player
        wait a tick
        set {RandomSet.%player%} to a random integer from 1 to 12
        if {RandomSet.%player%} is 1:
            give a 310 of unbreaking 15 and protection 5 named "&e&lHELM MCDROP" to the player
        if {RandomSet.%player%} is 2:
            give a 311 of unbreaking 15 and protection 5 named "&e&lZBROJA MCDROP" to the player
        if {RandomSet.%player%} is 3:
            give a 312 of unbreaking 15 and protection 5 named "&e&lSPODNIE MCDROP" to the player
        if {RandomSet.%player%} is 4:
            give a 313 of unbreaking 15 and protection 5 named "&e&lBUTY MCDROP" to the player
        if {RandomSet.%player%} is 5:
            give a 378 of unbreaking 10 named "&c&lZLOTA MONETA" to the player
        if {RandomSet.%player%} is 8:
            give a 130 named "&6&lMistyczna Skrzynia" to the player
        if {RandomSet.%player%} is 9:
            give a 276 of sharpness 6 and unbreaking 20 and fireaspect 3 named "&e&lMIECZ MCDROP" to the player
        if {RandomSet.%player%} is 10:
            give a 261 of power 6 and unbreaking 20 and flame 3 and infinity 1 named "&e&lLUK MCDROP" to the player
        if {RandomSet.%player%} is 11:
            give a 278 of unbreaking 10 and efficiency 6 and fortune 4 named "&e&lKILOF MCDROP" to the player
        if {RandomSet.%player%} is 12:
            give a 276 of unbreaking 100 and sharpness 10 and fireaspect 5 named "&e&lWZMOCNIONY MIECZ MCDROP" to the player

Bledy : line 18 i 20 i 26

 

Odnośnik do komentarza
https://skript.pl/temat/19565-naprawa-skriptu/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Teraz, IprOseK napisał:

Witam naprawi mi ktos ten skript

on rightclick:
    player is holding a ender chest named "&6&lMistyczna Skrzynia":
        clear {RandomSet.%player%}
        remove 1 ender chest named "&6&lMistyczna Skrzynia" from player
        wait a tick
        set {RandomSet.%player%} to a random integer from 1 to 12
        if {RandomSet.%player%} is 1:
            give a 310 of unbreaking 15 and protection 5 named "&e&lHELM MCDROP" to the player
        if {RandomSet.%player%} is 2:
            give a 311 of unbreaking 15 and protection 5 named "&e&lZBROJA MCDROP" to the player
        if {RandomSet.%player%} is 3:
            give a 312 of unbreaking 15 and protection 5 named "&e&lSPODNIE MCDROP" to the player
        if {RandomSet.%player%} is 4:
            give a 313 of unbreaking 15 and protection 5 named "&e&lBUTY MCDROP" to the player
        if {RandomSet.%player%} is 5:
            give a 378 of unbreaking 10 named "&c&lZLOTA MONETA" to the player
        if {RandomSet.%player%} is 8:
            give a 130 named "&6&lMistyczna Skrzynia" to the player
        if {RandomSet.%player%} is 9:
            give a 276 of sharpness 6 and unbreaking 20 and fireaspect 3 named "&e&lMIECZ MCDROP" to the player
        if {RandomSet.%player%} is 10:
            give a 261 of power 6 and unbreaking 20 and flame 3 and infinity 1 named "&e&lLUK MCDROP" to the player
        if {RandomSet.%player%} is 11:
            give a 278 of unbreaking 10 and efficiency 6 and fortune 4 named "&e&lKILOF MCDROP" to the player
        if {RandomSet.%player%} is 12:
            give a 276 of unbreaking 100 and sharpness 10 and fireaspect 5 named "&e&lWZMOCNIONY MIECZ MCDROP" to the player

Bledy : line 18 i 20 i 26

 

Wrzuć to na pastebin.com lub code.skript.pl 

Odnośnik do komentarza
https://skript.pl/temat/19565-naprawa-skriptu/#findComment-133096
Udostępnij na innych stronach

  • 0
Gość Usunięty#3468
Spoiler

on rightclick:
	if player is holding a ender chest named "&6&lMistyczna Skrzynia":
		clear {RandomSet.%player%}
		remove 1 ender chest named "&6&lMistyczna Skrzynia" from player
		wait a tick
		set {RandomSet.%player%} to a random integer from 1 to 12
		if {RandomSet.%player%} is 1:
			give a 310 of unbreaking 15 and protection 5 named "&e&lHELM MCDROP" to the player
		if {RandomSet.%player%} is 2:
			give a 311 of unbreaking 15 and protection 5 named "&e&lZBROJA MCDROP" to the player
		if {RandomSet.%player%} is 3:
			give a 312 of unbreaking 15 and protection 5 named "&e&lSPODNIE MCDROP" to the player
		if {RandomSet.%player%} is 4:
			give a 313 of unbreaking 15 and protection 5 named "&e&lBUTY MCDROP" to the player
		if {RandomSet.%player%} is 5:
			give a 378 of unbreaking 10 named "&c&lZLOTA MONETA" to the player
		if {RandomSet.%player%} is 8:
			give ender chest named "&6&lMistyczna Skrzynia" to the player
		if {RandomSet.%player%} is 9:
			give a 276 of sharpness 6 and unbreaking 20 and fire aspect 3 named "&e&lMIECZ MCDROP" to the player
		if {RandomSet.%player%} is 10:
			give a 261 of power 6 and unbreaking 20 and flame 3 and infinity 1 named "&e&lLUK MCDROP" to the player
		if {RandomSet.%player%} is 11:
			give a 278 of unbreaking 10 and efficiency 6 and fortune 4 named "&e&lKILOF MCDROP" to the player
		if {RandomSet.%player%} is 12:
			give a 276 of unbreaking 100 and sharpness 10 and fire aspect 5 named "&e&lWZMOCNIONY MIECZ MCDROP" to the player 

 

Prosze, mozesz dasz lajka i najke :D

Masz tu kazda linijke, testowany skrypt i oczywiscie dzialajacy

Edytowane przez Sewer
Odnośnik do komentarza
https://skript.pl/temat/19565-naprawa-skriptu/#findComment-133112
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ę...