Skocz do zawartości
  • 0

Pandora Ball


Szybki_Johny
 Udostępnij

Pytanie

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler

# Skrypt by Hakunek edited by: esej
# Nazwa [PandoraClay]
# Wersja skryptu 2.1
# Zakaz podszywania się pod autora
on script load:
	set {numer.pandorki} to 0
command /pandora [<text>] [<integer>] [<player>]:
	permission: PBall.pandora
	permission message: &cNie posiadasz uprawnień do tej komendy!
	trigger:
		if integer-arg > 0:
			if integer-arg < 65:
				if argument 1 is "all":
					broadcast "&8» &7Za &c20 sekund &7kazdy dostanie &cPandora ball &4!!!UWAGA!!! &8(&7Musisz miec 1 wolne miejsce w EQ&8)"
					wait 20 seconds
					broadcast "&8» &7Za &c10 sekund &7dostaniecie &cPandora ball"
					wait 5 seconds
					broadcast "&8» &7Za &c5 sekund &7dostaniecie &cPandora ball"
					wait 5 seconds
					broadcast "&8» &7Każdy otrzyma %{numer.pandorki}% &cPandora ball"
					loop integer-arg times:
						loop all players:
							give loop-player clay ball named "&5Pandora ball"
				if arg 1 is "gracz":
					wait 1 tick
					loop integer-arg times:
						set {_i} to "%argument 2%" clay ball named "&6Pandora ball"
						add {_i} to player-argument
on right click with clay ball:
	if player's tool is clay ball named "&5Pandora ball":
		remove 1 clay ball named "&5Pandora ball" from player's inventory
		broadcast "&8» &c%player% &7otwiera &5bandora ball!"
		set {pblos} to a random integer between 1 and 26
		{pblos} is 1:
			add 32 diamond to player's inventory
		{pblos} is 2:
			add 16 bookshelf to player's inventory
		{pblos} is 3:
			spawn 2 zombie at the player
			equip the last spawned entity with all diamond armour of protection 20
			set the last spawned entity's max health to 100
		{pblos} is 4:
			spawn 4 cow at the player
		{pblos} is 5:
			add 64 iron ingot to player's inventory
		{pblos} is 6:
			add 128 coal to player's inventory
		{pblos} is 8:
			add 32 obsidian to player's inventory
		{pblos} is 9:
			apply poison 10 to the player for 3 seconds
		{pblos} is 11:
			spawn 2 creeper at the player
			send "&8» Masz dziś zły dzień"
		{pblos} is 12:
			spawn 6 zombie at the player
			send "&8» Masz dziś zły dzień"
		{pblos} is 13:
			send "&8» Nic nie wylosowałeś"
		{pblos} is 14:
			add 10 sponge to player's inventory
		{pblos} is 15:
			add 50 apple to player's inventory
		{pblos} is 16:
			send "&8» &7Nic nie wylosowałeś"
		{pblos} is 17:
			spawn 6 skeleton at the player
			send "&8» &7Masz dziś zły dzień"
		{pblos} is 18:
			add 5 emerald to player's inventory
		{pblos} is 19:
			spawn 1 zombie at the player
			equip the last spawned entity with all gold armour of protection 3
			set the last spawned entity's max health to 200
			send "&8» &7Masz dziś zły dzień"
		{pblos} is 20:
			send "&8» &7Masz dziś zły dzień"
			spawn 2 skeleton at the player
		{pblos} is 21:
			spawn 10 pig at the player
		{pblos} is 22:
			send "&8» &7Nic nie wylosowałeś"
		{pblos} is 23:
			add 1 diamond helmet to player's inventory
			add 1 diamond chestplate to player's inventory
			add 1 diamond leggings to player's inventory
			add 1 diamond boots to player's inventory
		{pblos} is 24:
			add 1 diamond sword to player's inventory
		{pblos} is 25:
			add 4 clay ball named "&5Pandora ball" to player's inventory
			send "&8» &7Masz dziś szczęscie, dostałeś &c2 &5Pandora Ball"
		{pblos} is 26:
			add 2 clay ball named "&5Pandora ball" to player's inventory
			send "&8» &7Masz dziś szczęscie, dostałeś &c2 &5Pandora Ball"
		{pblos} is 10:
			add 4 golden apple to player's inventory
			send "&8» &7Masz dziś szczęscie, dostałeś &c4 refile"
		{pblos} is 7:
			spawn 2 zombie at the player
			equip the last spawned entity with all diamond armour of protection 8
			set the last spawned entity's max health to 600
			send "&8» &7Masz dziś zły dzień"

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...