Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

prosze o poprawienie skryptu


Kasperoo

Rekomendowane odpowiedzi

Opublikowano

Wiatm pobrałem skrypt z internetu i troche go przerobiłem i czasami działa a czasami nie ,,, 

#===========================================================
#						KOD SKRYPTU
#===========================================================

on script load:
	send "Ladowanie nowych itemow... Proces zajmie okolo 2 min." to console
	send "Dlugie ladowanie skryptu wynika z jego funkcjonalnosci..." to console
	send "Prosze nie przeladowywac serwera ani skryptu, poniewaz gdy posiadasz serwer Spigot, moze sie on wylaczyc." to console
	{noweitemy.craft.cloudbootsy} is true:
		register new shaped recipe for Chainmail boots of unbreaking 3 named "<aqua><bold>Cloud Boots" using air, gold ingot, air, feather, gold ingot, feather, gold block, gold block, gold block

on player login:
	wait 10 seconds
	if boots of player is Chainmail boots named "<aqua><bold>Cloud Boots":
		apply jump boost 5 to the player for 999999999 seconds
		apply speed 2 to the player for 999999999 seconds
		set {cloudbootsy.%player%.zalozone} to 1
	else:
		if {cloudbootsy.%player%.zalozone} is set:
			remove jump boost from the player
			remove speed from the player
			delete {cloudbootsy.%player%.zalozone}

on rightclick with a Chainmail boots:
	if player's boots is Chainmail boots named "<aqua><bold>Cloud Boots":
		apply jump boost 5 to the player for 999999999 seconds
		apply speed 2 to the player for 999999999 seconds
		set {cloudbootsy.%player%.zalozone} to 1

on inventory close:
	if boots of player is not Chainmail boots named "<aqua><bold>Cloud Boots":
		if {cloudbootsy.%player%.zalozone} is set:
			remove jump boost from the player
			remove speed from the player
			delete {cloudbootsy.%player%.zalozone}
	else:
		apply jump boost 5 to the player for 999999999 seconds
		apply speed 2 to the player for 999999999 seconds
		set {cloudbootsy.%player%.zalozone} to 1

on teleport:
	if {cloudbootsy.%player%.zalozone} is set:
		if boots of player is Chainmail boots named "<aqua><bold>Cloud Boots":
			apply jump boost 5 to the player for 999999999 seconds
			apply speed 2 to the player for 999999999 seconds
		else:
			remove jump boost from the player
			remove speed from the player
			delete {cloudbootsy.%player%.zalozone}

on damage:
	if attacker is a player:
		attacker's tool is a Chainmail sword named "<aqua><bold>Pogromca Potworow":
			victim is a blaze or creeper or zombie pigman or enderman or giant or skeleton or wither skeleton or spider or witch or zombie or ghast or cave spider:
				kill victim
		if chestplate of victim is Chainmail chestplate named "<aqua><bold>Odrzut Ataku":
			push victim backwards at speed 5
			create fake explosion at location of victim
			
	if boots of victim is Chainmail boots named "<aqua><bold>Cloud Boots":
		if {cloudbootsy.%victim%.zalozone} is not set:
			apply jump boost 5 to the victim for 999999999 seconds
			apply speed 2 to the victim for 999999999 seconds
			set {cloudbootsy.%victim%.zalozone} to 1
		damage cause is fall
		spawn 17 of particle smoke offset by 1, 1, 1 at location of victim
		spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of victim
		spawn 17 of particle instant spell offset by 1, 1, 1 at location of victim
		spawn 17 of particle magic crit offset by 1, 1, 1 at location of victim
		spawn 17 of particle spell offset by 1, 1, 1 at location of victim
		cancel event
	if boots of victim is not Chainmail boots named "<aqua><bold>Cloud Boots":
		if {cloudbootsy.%victim%.zalozone} is set:
			remove jump boost from the victim
			remove speed from the victim
			delete {cloudbootsy.%victim%.zalozone}
 
on jump:
	if boots of player is Chainmail boots named "<aqua><bold>Cloud Boots":
		if {cloudbootsy.%player%.zalozone} is not set:
			apply jump boost 5 to the player for 999999999 seconds
			apply speed 2 to the player for 999999999 seconds
			set {cloudbootsy.%player%.zalozone} to 1
		spawn 17 of particle smoke offset by 1, 1, 1 at location of player
		spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of player
		spawn 17 of particle instant spell offset by 1, 1, 1 at location of player
		spawn 17 of particle magic crit offset by 1, 1, 1 at location of player
		spawn 17 of particle spell offset by 1, 1, 1 at location of player
	if boots of player is not Chainmail boots named "<aqua><bold>Cloud Boots":
		if {cloudbootsy.%player%.zalozone} is set:
			remove jump boost from the player
			remove speed from the player
			delete {cloudbootsy.%player%.zalozone}
		
command /noweitemy-fix:
	description: Naprawia skraftowane juz itemy ze starej wersji.
	usage: /noweitemy-fix
	executable by: players
	trigger:
		if player's tool is Chainmail sword named "<aqua><bold>Pogromca Potworów":
			set name of the player's tool to "<aqua><bold>Pogromca Potworow"
			message "&2Naprawiono miecz <aqua><bold>Pogromca Potworow!" to player
		if player's tool is oak wood planks named "<gold><bold>Mały domek":
			set name of the player's tool to "<gold><bold>Maly domek"
			message "&2Naprawiono <gold><bold>Maly domek!" to player
		if player's tool is ender pearl named "<aqua><bold>Nieskończona Perła Kresu":
			set name of the player's tool to "<aqua><bold>Nieskonczona perla kresu"
			message "&2Naprawiono <aqua><bold>Nieskonczona perla kresu!" to player
		if player's tool is torch named "<gold><bold>Świecąca Pochodnia":
			set name of the player's tool to "<gold><bold>Swiecaca Pochodnia"
			message "&2Naprawiono <gold><bold>Swiecaca Pochodnia!" to player
		if player's tool is torch named "<gold><bold>Świecący Hełm":
			set name of the player's tool to "<gold><bold>Swiecacy Helm"
			message "&2Naprawiono <gold><bold>Swiecacy Helm!" to player
Opublikowano

Podaj bledy z konsoli.

Pomagam na PW (Prywatna Wiadomosc)

▄ . ► KONTAKT .
Wyślij do mnie Prywatną Wiadomość (PW)

►Skype: smith.polska

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...