Skocz do zawartości
  • 0

Skrytp na premiumcase


jndooo

Pytanie

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on load:
	clear {premiumdrop::*}
	add diamond and gold ingot and iron ingot and emerald and dirt and grass and stone and wood and wool to {premiumdrop::*}
	add beacon to {premiumdrop::*}
on rightclick:
	if type of player's tool is chest:
		if name of player's tool is "&6PremiumChest":
			cancel event
			remove 1 of player's tool from player's tool
			set {_i} to random element out of {premiumdrop::*}
			drop {_i} at player
			send "&6Wydropiles: &a%{_i}%"

 

Odnośnik do komentarza
https://skript.pl/temat/35868-skrytp-na-premiumcase/#findComment-230078
Udostępnij na innych stronach

  • 0
17 godzin temu, xAxee napisał:

on load:
	clear {premiumdrop::*}
	add diamond and gold ingot and iron ingot and emerald and dirt and grass and stone and wood and wool to {premiumdrop::*}
	add beacon to {premiumdrop::*}
on rightclick:
	if type of player's tool is chest:
		if name of player's tool is "&6PremiumChest":
			cancel event
			remove 1 of player's tool from player's tool
			set {_i} to random element out of {premiumdrop::*}
			drop {_i} at player
			send "&6Wydropiles: &a%{_i}%"

 

a jak zrobic by procentówki były bo mam np taki cos a nie zawsze wypadnie

on place trapped chest:
	if player's tool is trapped chest named "&c&lPremium&1&l Case":
		set block to air
		wait 0.1 second
		set block to emerald block
		wait 0.1 second
		set block to gold block
		wait 0.1 second
		set block to iron block
		wait 0.1 second
		set block to diamond block
		wait 0.1 second
		set block to air
		send "&bOtworzyles &c&lPremium&1&l Case"
		chance of 2%:
			drop 1 diamond helmet
			send "&c%player% &7otworzyl &9&lPremiumCase &7i wylosowal&8:" to all players
			send "&8- &cHelm Diamentowe" to all players
			stop
		chance of 2%:
			drop 1 diamond chestplate
			send "&c%player% &7otworzyl &9&lPremiumCase &7i wylosowal&8:" to all players
			send "&8- &cKlate Diamentowe" to all players
			stop

 

Odnośnik do komentarza
https://skript.pl/temat/35868-skrytp-na-premiumcase/#findComment-230117
Udostępnij na innych stronach

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