Skocz do zawartości
  • 0

Magiczna rozdzka na spawn


willikurt1212
 Udostępnij

Pytanie

Witam!

Chcialbym skrypt dzieki ktoremu bede mogl strzelac sniezkami/jajkami z blaze roda a tam gdzie poleca pojawiaja sie particle

fajnie by bylo gdyby byl limit 4 sec oraz permisja na to .

Z gory wielkie dzieki :)

 (+jesli ktos sie chce podjac  wyzwania to : zamiast particli poprosze realistyczny wybuch [teren powinien sie szybko regenerowac])

Odnośnik do komentarza
Udostępnij na innych stronach

13 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
9 godzin temu, _Ronald_ napisał:

Trzymaj zrobiłem na szybko Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!  Jeżeli nie działa to pisz co ;) 

Niestety nie o to mi chodzi :/

Po pierwsze to nie ma byc bron tylko taka zabwaka na spawna

Po drugie To niema zabierac damage

Po trzecie nie ma particli ani wybuchu

po czwarte nie mialo byc przeladowywanie tylko limit aby niebylo spamu tym item

mam nadzieje ze poprawisz :)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
aliases:
	wand = 369

on rightclick holding wand:
	name of player's tool is "&aMagiczna Rozdzka":
		player has permission "boom.use":
			{lastused::%player%} is not set:
				set {_x} to now-(4 seconds)
				set {lastused::%player%} to {_x}
			set {cooldown::%player%} to difference between {lastused::%player%} and now
			{cooldown::%player%} is greater than or equal to 4 seconds:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now

command /mrod:
	trigger:
		player has permission "boom.use":
			player doesn't contain wand named "&aMagiczna Rozdzka":
				give wand named "&aMagiczna Rozdzka" to player

@willikurt1212 @willikurt1212 teraz musi działać :v

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
7 minut temu, Drake napisał:
on rightclick with blaze rod named "&aMagiczna Rozdzka":
	player has permission "boom.use":
		{lastused::%player%} is not set:
			set {_x} to now-(4 seconds)
			set {cooldown::%player%} to {_x}
		set {cooldown::%player%} to difference between {lastused::%player%} and now
		{cooldown::%player%} is greater than 4 seconds:
    		create a safe explosion of force 10 at targeted block
    		set {lastused::%player%} to now

command /mrod:
	trigger:
		player has permission "boom.use":
			player doesn't contain blaze rod named "&aMagiczna Rozdzka":
				give blaze rod named "&aMagiczna Rozdzka" to player

@willikurt1212

Encountered 3 errrors while reloading

Cos niedziala :(

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Juz daje :)

[23:04:51 ERROR]: indentation error: expected 3 tabs, but found '____->->' [-> = tab, _ = space, ? = other whitespace] (blayerod.sk, line 8: create a safe explosion of force 10 at targeted block')
[23:04:51 ERROR]: indentation error: expected 3 tabs, but found '____->->' [-> = tab, _ = space, ? = other whitespace] (blayerod.sk, line 9: set {lastused::%player%} to now')
[23:04:51 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (blayerod.sk, line 7: {cooldown::%player%} is greater than 4 seconds:')
[23:04:51 ERROR]: 'blaze rod named "&aMagiczna Rozdzka"' is not an item type (blayerod.sk, line 1: on rightclick with blaze rod named "&aMagiczna Rozdzka":')
[23:04:51 INFO]: [Skript] Encountered 3 errors while reloading blayerod.sk!
 
 
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
4 minuty temu, Drake napisał:

Już powinno działać(to co w pierwszym poście wstawiłem skopiuj)

[23:16:24 INFO]: [Skript] Reloading blayerod.sk...
[23:16:24 ERROR]: 'wand named "&aMagiczna Rozdzka"' is not an item type (blayerod.sk, line 4: on rightclick holding wand named "&aMagiczna Rozdzka":')
[23:16:24 INFO]: [Skript] Encountered 1 error while reloading blayerod.sk!
nadal cos niedziala :(
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Moze jednak nie :/

[23:36:20 INFO]: [Skript] Reloading blayerod.sk...
[23:36:20 ERROR]: 'now-(4 seconds)' is not an entity type (blayerod.sk, line 8: set {_x} to now-(4 seconds)')
[23:36:20 INFO]: [Skript] Encountered 1 error while reloading blayerod.sk!
43 minuty temu, Drake napisał:
aliases:
	wand = 369

on rightclick holding wand:
	name of player's tool is "&aMagiczna Rozdzka":
		player has permission "boom.use":
			{lastused::%player%} is not set:
				set {_x} to now-(4 seconds)
				set {lastused::%player%} to {_x}
			set {cooldown::%player%} to difference between {lastused::%player%} and now
			{cooldown::%player%} is greater than or equal to 4 seconds:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now

command /mrod:
	trigger:
		player has permission "boom.use":
			player doesn't contain wand named "&aMagiczna Rozdzka":
				give wand named "&aMagiczna Rozdzka" to player

@willikurt1212 @willikurt1212 teraz musi działać :v

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

@willikurt1212 Jeśli działa daj lajka i naj <3 Żebrak mode off

aliases:
	wand = 369

on rightclick holding wand:
	name of player's tool is "&aMagiczna Rozdzka":
		player has permission "boom.use":
			{lastused::%player%} is not set:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now
				stop
			set {cooldown::%player%} to difference between {lastused::%player%} and now
			{cooldown::%player%} is greater than or equal to 4 seconds:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now

command /mrod:
	trigger:
		player has permission "boom.use":
			player doesn't contain wand named "&aMagiczna Rozdzka":
				give wand named "&aMagiczna Rozdzka" to player
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

No uznajmy ze jest dobrze :)

Chociaz nie o to mi chodzilo :/

3 minuty temu, Drake napisał:

@willikurt1212 Jeśli działa daj lajka i naj <3 Żebrak mode off

aliases:
	wand = 369

on rightclick holding wand:
	name of player's tool is "&aMagiczna Rozdzka":
		player has permission "boom.use":
			{lastused::%player%} is not set:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now
				stop
			set {cooldown::%player%} to difference between {lastused::%player%} and now
			{cooldown::%player%} is greater than or equal to 4 seconds:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now

command /mrod:
	trigger:
		player has permission "boom.use":
			player doesn't contain wand named "&aMagiczna Rozdzka":
				give wand named "&aMagiczna Rozdzka" to player

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

@willikurt1212

O co więc chodziło? Trochę inaczej eksplozja?
Powinno zrobić insta dziurę, a potem ją powoli odnawiać.
 

aliases:
	wand = 369

on rightclick holding wand:
	name of player's tool is "&aMagiczna Rozdzka":
		player has permission "boom.use":
			{lastused::%player%} is not set:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now
				stop
			set {cooldown::%player%} to difference between {lastused::%player%} and now
			{cooldown::%player%} is greater than or equal to 4 seconds:
				create a safe explosion of force 10 at targeted block
				loop 3 times:
					chance of 90%:
						set {block::%player%::%loop-number%} to block loop-number under targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+3} to block loop-number north targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+6} to block loop-number east targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+9} to block loop-number south targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+12} to block loop-number west targeted block
					chance of 75%:
						set {block::%player%::16} to block 1 north 1 east targeted block
					chance of 75%:
						set {block::%player%::17} to block 1 north 1 west targeted block
					chance of 75%:
						set {block::%player%::18} to block 1 south 1 east targeted block
					chance of 75%:
						set {block::%player%::19} to block 1 south 1 west targeted block
					chance of 50%:
						set {block::%player%::20} to block 1 north 1 under targeted block
					chance of 50%:
						set {block::%player%::21} to block 1 east 1 under targeted block
					chance of 50%:
						set {block::%player%::22} to block 1 south 1 under targeted block
					chance of 50%:
						set {block::%player%::23} to block 1 west 1 under targeted block
				loop 23 times:
					{block::%player%::%loop-number%} is set:
						set block at location of {block::%player%::%loop-number%} to air
				wait 10 ticks
				loop 23 times:
					{block::%player%::%loop-number%} is set:
						set block at location of {block::%player%::%loop-number%} to {block::%player%::%loop-number%}
						wait 5 ticks
				set {lastused::%player%} to now

command /mrod:
	trigger:
		player has permission "boom.use":
			player doesn't contain wand named "&aMagiczna Rozdzka":
				give wand named "&aMagiczna Rozdzka" to player
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
12 godzin temu, Drake napisał:

@willikurt1212

O co więc chodziło? Trochę inaczej eksplozja?
Powinno zrobić insta dziurę, a potem ją powoli odnawiać.
 

aliases:
	wand = 369

on rightclick holding wand:
	name of player's tool is "&aMagiczna Rozdzka":
		player has permission "boom.use":
			{lastused::%player%} is not set:
				create a safe explosion of force 10 at targeted block
				set {lastused::%player%} to now
				stop
			set {cooldown::%player%} to difference between {lastused::%player%} and now
			{cooldown::%player%} is greater than or equal to 4 seconds:
				create a safe explosion of force 10 at targeted block
				loop 3 times:
					chance of 90%:
						set {block::%player%::%loop-number%} to block loop-number under targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+3} to block loop-number north targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+6} to block loop-number east targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+9} to block loop-number south targeted block
					chance of 90%:
						set {block::%player%::%loop-number%+12} to block loop-number west targeted block
					chance of 75%:
						set {block::%player%::16} to block 1 north 1 east targeted block
					chance of 75%:
						set {block::%player%::17} to block 1 north 1 west targeted block
					chance of 75%:
						set {block::%player%::18} to block 1 south 1 east targeted block
					chance of 75%:
						set {block::%player%::19} to block 1 south 1 west targeted block
					chance of 50%:
						set {block::%player%::20} to block 1 north 1 under targeted block
					chance of 50%:
						set {block::%player%::21} to block 1 east 1 under targeted block
					chance of 50%:
						set {block::%player%::22} to block 1 south 1 under targeted block
					chance of 50%:
						set {block::%player%::23} to block 1 west 1 under targeted block
				loop 23 times:
					{block::%player%::%loop-number%} is set:
						set block at location of {block::%player%::%loop-number%} to air
				wait 10 ticks
				loop 23 times:
					{block::%player%::%loop-number%} is set:
						set block at location of {block::%player%::%loop-number%} to {block::%player%::%loop-number%}
						wait 5 ticks
				set {lastused::%player%} to now

command /mrod:
	trigger:
		player has permission "boom.use":
			player doesn't contain wand named "&aMagiczna Rozdzka":
				give wand named "&aMagiczna Rozdzka" to player

tyle ze wyboch jest malo realistyczny niszczy 4 bloki a po za tym nieregeneruje sie

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