Skocz do zawartości
  • 0

Kilka Skryptów


DJDark

Pytanie

Witam ...

Prosze o napisanie dla mnie 3 skryptów, dobrze będzie jak ktoś je sprawdzi.

1.Miecz Pioruna- Ma zadawać około 10-15 (HP) i po kliknięciu prawym udeża piorun.(diax miecz)

2./legenda - daje diax seta odpornego na wszystko (ogień,wybuchy itd.), dodatkowo jak koleś ma na sobie tego seta to ma jeszcze speeda 2 i siłke 1, a i zebym mógł ustawic tego opis (chyba lore) .

3.Gdy koleś bedzie miał mniej niz 4 serca to dostanie odporność 4, regeneracje 4 na 10s. A i permissia musi być :)

Odnośnik do komentarza
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

3maj taki skrypcik,raczej wszystko powinno działać :)

Lore ustawiasz w linijkach od 20-23

command /miecz:	trigger:		If player has permission "miecz.daj":			give player 1 diamond sword named "&6Miecz Pioruna"			on rightclick with diamond sword:	if player have permission "miecz.RPM":		name of player's tool is "&6Miecz Pioruna":				strike lightning effect at the location	else:		send "&7Nie masz odpowiednich uprawnień!" to the playeron damage:	name of attacker's tool is "&6Miecz Pioruna":		increase damage by 10 or 11 or 12 or 13 or 14 or 15		command /legenda:	trigger:		if player have permission "legenda.daj":			give diamond chestplate of protection 4, Thorns 2, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarna Klata" with lore "Tu wpisz opis :]" to player			give diamond helmet of protection 4, Aqua Affinity 1, Respiration 3, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarny Hełm" with lore "Tu wpisz opis :]" to player			give diamond leggings of protection 4, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarne Spodnie" with lore "Tu wpisz opis :]" to player			give diamond boots of protection 4, Feather Falling 4, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarne Buty" with lore "Tu wpisz opis :]" to playerevery 5 seconds:	loop all players:		loop-player is wearing diamond chestplate named "&6Legendarna Klata":			loop-player is wearing diamond helmet named "&6Legendarny Hełm":				loop-player is wearing diamond leggings named "&6Legendarne Spodnie":					loop-player is wearing diamond boots named "&6Legendarne Buty":						apply speed 2 to the loop-player for 5 seconds								apply strength 1 to the loop-player for 5 seconds												every 4 second:	loop all players:		loop-player has permission "serce.efekt":			health of loop-player is less than 4:				apply regeneration to the loop-player for 4 seconds						apply resistance to the loop-player for 4 seconds					On join:	execute console command "/heal %player%" #To po to aby gracz nie miał efektu na zawsze gdy się wyloguje
Edytowane przez Hydorax
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

 

3maj taki skrypcik,raczej wszystko powinno działać :)

Lore ustawiasz w linijkach od 20-23

command /miecz:	trigger:		If player has permission "miecz.daj":			give player 1 diamond sword named "&6Miecz Pioruna"			on rightclick with diamond sword:	if player have permission "miecz.RPM":		name of player's tool is "&6Miecz Pioruna":				strike lightning effect at the location	else:		send "&7Nie masz odpowiednich uprawnień!" to the playeron damage:	name of attacker's tool is "&6Miecz Pioruna":		increase damage by 10 or 11 or 12 or 13 or 14 or 15		command /legenda:	trigger:		if player have permission "legenda.daj":			give diamond chestplate of protection 4, Thorns 2, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarna Klata" with lore "Tu wpisz opis :]" to player			give diamond helmet of protection 4, Aqua Affinity 1, Respiration 3, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarny Hełm" with lore "Tu wpisz opis :]" to player			give diamond leggings of protection 4, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarne Spodnie" with lore "Tu wpisz opis :]" to player			give diamond boots of protection 4, Feather Falling 4, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarne Buty" with lore "Tu wpisz opis :]" to playerevery 5 seconds:	loop all players:		loop-player is wearing diamond chestplate named "&6Legendarna Klata":			loop-player is wearing diamond helmet named "&6Legendarny Hełm":				loop-player is wearing diamond leggings named "&6Legendarne Spodnie":					loop-player is wearing diamond boots named "&6Legendarne Buty":						apply speed 2 to the loop-player for 5 seconds								apply strength 1 to the loop-player for 5 seconds												every 4 second:	loop all players:		loop-player has permission "serce.efekt":			health of loop-player is less than 4:				apply regeneration to the loop-player for 4 seconds						apply resistance to the loop-player for 4 seconds					On join:	execute console command "/heal %player%" #To po to aby gracz nie miał efektu na zawsze gdy się wyloguje

Dobra komenda /miecz i ta regenaracja działa ale zbroja nie :(

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Ale nie działa sama komenda czy co ?

Podaj błędy :)

 

@Edit

Już wiem w czym tkwi problem, teraz lore ustawiasz w Options, czyli linijce od 2-5 :]

Poprawiony kod:

Options:	lore_1: Tu wpisz opis :]	lore_2: Tu wpisz opis :]	lore_3: Tu wpisz opis :]	lore_4: Tu wpisz opis :]command /miecz:	trigger:		If player has permission "miecz.daj":			give player 1 diamond sword named "&6Miecz Pioruna"			on rightclick with diamond sword:	if player have permission "miecz.RPM":		name of player's tool is "&6Miecz Pioruna":				strike lightning effect at the location	else:		send "&7Nie masz odpowiednich uprawnień!" to the playeron damage:	name of attacker's tool is "&6Miecz Pioruna":		increase damage by 10 or 11 or 12 or 13 or 14 or 15		command /legenda:	trigger:		if player have permission "legenda.daj":			give diamond chestplate of protection 4, Thorns 2, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarna Klata" with lore "{@lore_1}" to player			give diamond helmet of protection 4, Aqua Affinity 1, Respiration 3, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarny Helm" with lore "{@lore_2}" to player			give diamond leggings of protection 4, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarne Spodnie" with lore "{@lore_3}" to player			give diamond boots of protection 4, Feather Falling 4, fire protection 4, blast protection 4, projectile protection 4 named "&6Legendarne Buty" with lore "{@lore_4}" to playerevery 5 seconds:	loop all players:		loop-player is wearing diamond chestplate named "&6Legendarna Klata" with lore "{@lore_1}":			loop-player is wearing diamond helmet named "&6Legendarny Helm" with lore "{@lore_2}":				loop-player is wearing diamond leggings named "&6Legendarne Spodnie" with lore "{@lore_3}":					loop-player is wearing diamond boots named "&6Legendarne Buty" with lore "{@lore_4}":						apply speed 2 to the loop-player for 5 seconds								apply strength 1 to the loop-player for 5 seconds												every 4 second:	loop all players:		loop-player has permission "serce.efekt":			health of loop-player is less than 4:				apply regeneration to the loop-player for 4 seconds						apply resistance to the loop-player for 4 seconds					On join:	execute console command "/heal %player%" #To po to aby gracz nie miał efektu na zawsze gdy się wyloguje
Edytowane przez Hydorax
Odnośnik do komentarza
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ę...