Skocz do zawartości
  • 0

Skrypt na meteoryty jak na tryhc.net


q1zZ_

Pytanie

Witam czy napisał by mi ktoś skrypt na meteoryty polegający na tym że co 10 minut na mapie będzie spadał meteoryt z nieba i po jego spadnięciu stworzy się dziura na 2 kratki w dół i nada slownessa oraz poisona dla wszystkich graczy stających w promienu 6 kratek od niego a po jego kliknięciu gracz otrzyma jakieś przedmioty powiedzmy że diamenty

Odnośnik do komentarza
https://skript.pl/temat/42133-skrypt-na-meteoryty-jak-na-tryhcnet/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
function meteoryt():
	set {_x} to random integer between -2000 and 2000
	set {_z} to random integer between -2000 and 2000
	set {_loc} to location of highest block at location at (random integer between -2000 and 2000), 256, (random integer between -2000 and 2000) in world "world"
	set block at {_loc} to air
	remove 1 from y-loc of {_loc}
	set {meteoryt::%{_loc}%} to true
	set block at {_loc} to obsidian
	while {meteoryt::%{_loc}%} is set:
		loop all players in radius 6 around {_loc}:
			apply slowness to loop-player for 2 second
			apply poison to loop-player for 2 second
		wait 2 second
on rightclick on obsidian:
	if {meteoryt::%location at event-block%} is set:
		clear {meteoryt::%location at event-block%}
		set event-block to air
		drop 5 diamonds at event-block
every 10 minutes:
	meteoryt()
command /meteoryt [<text>]:
	permission: skript.command.meteoryt
	trigger:
		meteoryt()

 

Odnośnik do komentarza
https://skript.pl/temat/42133-skrypt-na-meteoryty-jak-na-tryhcnet/#findComment-266538
Udostępnij na innych stronach

  • 0
6 godzin temu, Helios1993 napisał:

function meteoryt():
	set {_x} to random integer between -2000 and 2000
	set {_z} to random integer between -2000 and 2000
	set {_loc} to location of highest block at location at (random integer between -2000 and 2000), 256, (random integer between -2000 and 2000) in world "world"
	set block at {_loc} to air
	remove 1 from y-loc of {_loc}
	set {meteoryt::%{_loc}%} to true
	set block at {_loc} to obsidian
	while {meteoryt::%{_loc}%} is set:
		loop all players in radius 6 around {_loc}:
			apply slowness to loop-player for 2 second
			apply poison to loop-player for 2 second
		wait 2 second
on rightclick on obsidian:
	if {meteoryt::%location at event-block%} is set:
		clear {meteoryt::%location at event-block%}
		set event-block to air
		drop 5 diamonds at event-block
every 10 minutes:
	meteoryt()
command /meteoryt [<text>]:
	permission: skript.command.meteoryt
	trigger:
		meteoryt()

 

<3

Odnośnik do komentarza
https://skript.pl/temat/42133-skrypt-na-meteoryty-jak-na-tryhcnet/#findComment-266591
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ę...