Skocz do zawartości
  • 0

Skrypt na granaty


Masloid

Pytanie

13 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

A nie lepiej normalny wybuch?
 

command /granade:
  trigger:
    give slimeball named "&2Granat" to player



on rightclick with slimeball:
  name of player's tool "&2Granat":
    shoot a snowball named "Granat" from player

on shoot:
  name of projectile is "Granat":
    wait 2 seconds
    create a safe explosion of force 5 at projectile

 

Odnośnik do komentarza
https://skript.pl/temat/17707-skrypt-na-granaty/#findComment-121071
Udostępnij na innych stronach

  • 0

1. Jakie są błędy

2. Molotov

3. To masz:

command /granade:
  trigger:
    give snowball named "&2Granat" to player

command /molotov:
  trigger:
    give slimeball named "&4Molotov" to player

on rightclick with snowball:
  name of player's tool "&2Granat":
    shoot a snowball from player
    set {grenade::%shot projectile%} to "Grenade"

on rightclick with slimeball:
  name of player's tool "&4Molotov":
    shoot a snowball from player
    set {grenade::%shot projectile%} to "Molotov"

on shoot:
  {grenade::%projectile%} is "Grenade":
    wait 2 seconds
    create a safe explosion of force 5 at projectile
  {grenade::%shot projectile%} is "Molotov"
    wait 2 seconds
    loop blocks in radius 5 of projectile:
      ignite loop-block
    loop entities in radius 5 of projectile:
      ignite loop-entity

 

Odnośnik do komentarza
https://skript.pl/temat/17707-skrypt-na-granaty/#findComment-121078
Udostępnij na innych stronach

  • 0
command /granade:
  trigger:
    give snowball named "&2Granat" to player

command /molotov:
  trigger:
    give slimeball named "&4Molotov" to player

on rightclick with snowball:
  name of player's tool "&2Granat":
    shoot a snowball from player
    set {grenade::%shot projectile%} to "Grenade"

on rightclick with slimeball:
  name of player's tool "&4Molotov":
    shoot a snowball from player
    set {grenade::%shot projectile%} to "Molotov"

on shoot:
  {grenade::%projectile%} is "Grenade":
    wait 2 seconds
    create a safe explosion of force 5 at projectile
  {grenade::%shot projectile%} is "Molotov":
    wait 2 seconds
    loop blocks in radius 5 of projectile:
      ignite loop-block
    loop entities in radius 5 of projectile:
      ignite loop-entity

Jeden dwukropek po "Molotov" xd

Odnośnik do komentarza
https://skript.pl/temat/17707-skrypt-na-granaty/#findComment-121084
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ę...