Skocz do zawartości
  • 0

Skrypt strasznie laguję


Pytanie

Witam

Ten kawałek kodu strasznie laguję 

		if clicked item is quartz named "&8Bandage":
			if player have 5 of iron nugget named "&8Cloth":
				remove 5 of iron nugget named "&8Cloth" from player
				give 1 quartz named "&8Bandage" to player
		if clicked item is blaze rod named "&8Medical Syringe":
			if player have 10 of iron nugget named "&8Cloth" and 5 of iron ingot named "&8Metal Fragments" and 5 of stick named "&8Low Grade Fuel":
				remove 10 of iron nugget named "&8Cloth" and 5 of iron ingot named "&8Metal Fragments" and 5 of stick named "&8Low Grade Fuel" from player
				give 1 blaze rod named "&8Medical Syringe" to player
		if clicked item is sugar cane item named "&8Large Medkit":
			if player have 2 of blaze rod named "&8Medical Syringe" and 10 of stick named "&8Low Grade Fuel":
				remove 2 of blaze rod named "&8Medical Syringe" and 10 of stick named "&8Low Grade Fuel" from player
				give 1 sugar cane item named "&8Large Medkit" to player
		if clicked item is gunpowder named "&8Gun Powder":
			if player have 2 of gold ingot named "&8Sulfur" and 3 of charcoal named "&8Charcoal":
				remove 2 of gold ingot named "&8Sulfur" and 3 of charcoal named "&8Charcoal" from player
				give 1 gunpowder named "&8Gun Powder" to player
		if clicked item is nether brick item named "&8Pistol Bullet":
			if player have 2 of gunpowder named "&8Gun Powder" and 5 of iron ingot named "&8Metal Fragments":
				remove 2 of gunpowder named "&8Gun Powder" and 5 of iron ingot named "&8Metal Fragments" from player
				give 1 nether brick named "&8Pistol Bullet" to player
		if clicked item is purple dye named "&85.56 Rifle Ammo":
			if player have 3 of gunpowder named "&8Gun Powder" and 7 of iron ingot named "&8Metal Fragments":
				remove 3 of gunpowder named "&8Gun Powder" and 7 of iron ingot named "&8Metal Fragments" from player
				give 1 purple dye named "&85.56 Rifle Ammo" to player
		if clicked item is egg named "&8Beancan Grenade":
			if player have 50 of gunpowder named "&8Gun Powder" and 15 of iron ingot named "&8Metal Fragments":
				remove 50 of gunpowder named "&8Gun Powder" and 15 of iron ingot named "&8Metal Fragments" from player
				give 1 egg named "&8Beancan Grenade" to player
		if clicked item is clay ball named "&8Explosive":
			if player have 50 of gunpowder named "&8Gun Powder" and 10 of gold inot named "&8Sulfur" and 5 of iron ingot named "&8Metal Fragments" and 2 of stick named "&8Low Grade Fuel":
				remove 50 of gunpowder named "&8Gun Powder" and 10 of gold inot named "&8Sulfur" and 5 of iron ingot named "&8Metal Fragments" and 2 of stick named "&8Low Grade Fuel" from player
				give 1 clat ball named "&8Explosive" to player
		if clicked item is flint named "&8Handmade Shell":
			if player have 5 of gunpowder named "&8Gun Powder" and 5 of slime ball named "&8Stone":
				remove 5 of gunpowder named "&8Gun Powder" and 5 of slime ball named "&8Stone" from player
				give 1 flint named "&8Handmade Shell" to player
		if clicked item is bone named "&812 Gauge Buckshot":
			if player have 7 of gunpowder named "&8Gun Powder" and 7 of iron ingot named "&8Metal Fragments":
				remove 7 of gunpowder named "&8Gun Powder" and 7 of iron ingot named "&8Metal Fragments" from player
				give 1 bone named "&812 Gauge Buckshot" to player
		if clicked item is wood button named "&8Satchel Charge":
			if player have 4 of egg named "&8Beancan Grenade" and 5 of iron nugget named "&8Cloth" and 1 of Light Blue Dye named "&8Rope":
				remove 4 of egg named "&8Beancan Grenade" and 5 of iron nugget named "&8Cloth" and 1 of Light Blue Dye named "&8Rope" from player
				give 1 wood button named "&8Satchel Charge" to player
		if clicked item is stone button named "&8Timed Explosive Charge":
			if player have 20 of Clay ball named "&8Explosive" and 10 of iron nugget named "&8Cloth" and 2 of Bone Meal named "&8Tech Trash":
				remove 20 of Clay ball named "&8Explosive" and 10 of iron nugget named "&8Cloth" and 2 of Bone Meal named "&8Tech Trash" from player
				give 1 stone button named "&8Timed Explosive Charge" to player

I co z nim jest nie tak :/

Edytowane przez Bodziusiu2
Odnośnik do komentarza
https://skript.pl/temat/48388-skrypt-strasznie-laguj%C4%99/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

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ę...