Skocz do zawartości
  • 0

Natychmiast! Fall Damage Off


Nieaktywny

Pytanie

Potrzebuję Takiego Czegoś Że Jak Ktoś Użyje Skryptu Poniżej To Nie Otrzymuje Damage Od Upadku Przez 6 Sekund Od Kliknięcia Tego Bez Goda Bo Da Się Go Zbugować! Potrzebuję Tego Najlepiej Za 10 Minut :p

 

On LeftClick:
    if player is holding Stick named "&dVortex":
        if difference between {Sura1::%player%::lastuse} and now is smaller than 3 seconds:
            send "&cStrzelać Kulą Ognia Możesz Co 3 Sekundy"
            stop
        set {Sura1::%player%::lastuse} to now
        shoot a fireball from player
        
On RightClick with stick:
    if name of player's tool is "&dVortex":
        if difference between {Sura2::%player%::lastuse} and now is smaller than 5 seconds:
            send "&cLatać Możesz Co 5 Sekund"
            stop
        set {Sura2::%player%::lastuse} to now
        push the player upwards at velocity 3
        push the player horizontally forward at speed 15
        # Tutaj Coś O Fall Damage Off Na 6 Sekund
        
on damage:
    name of attacker's tool is "&dVortex":
        increase damage by 10

Odnośnik do komentarza
https://skript.pl/temat/9030-natychmiast-fall-damage-off/
Udostępnij na innych stronach

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

variables:

    {falldmg.%player%} = false

On LeftClick:

    if player is holding Stick named "&dVortex":

        if difference between {Sura1::%player%::lastuse} and now is smaller than 3 seconds:

            send "&cStrzelać Kulą Ognia Możesz Co 3 Sekundy"

            stop

        set {Sura1::%player%::lastuse} to now

        shoot a fireball from player

        

On RightClick with stick:

    if name of player's tool is "&dVortex":

        if difference between {Sura2::%player%::lastuse} and now is smaller than 5 seconds:

            send "&cLatać Możesz Co 5 Sekund"

            stop

        set {Sura2::%player%::lastuse} to now

        push the player upwards at velocity 3

        push the player horizontally forward at speed 15

        # TUTAJ WLACZA SIE OCHRONA OD UPADKU

        set {falldmg.%player%} to true

        wait 6 seconds

        set {falldmg.%player%} to false

on damage:

    name of attacker's tool is "&dVortex":

        increase damage by 10

    # TUTAJ SPRAWDZA CZY OBRAZENIA SA ZADANE PRZEZ UPADEK

    if damage cause is fall:

        if {falldmg.%victim%} is true:

            cancel event

Powinno działać :)

Edytowane przez astranaar
Odnośnik do komentarza
https://skript.pl/temat/9030-natychmiast-fall-damage-off/#findComment-69824
Udostępnij na innych stronach

  • 0

On leftclick:

if player is holding Stick named "&dVortex":

if difference between {Sura1::%player%::lastuse} and now is smaller than 3 seconds:

send "&cStrzela� Kul� Ognia Możesz Co 3 Sekundy"

stop

set {Sura1::%player%::lastuse} to now

shoot a fireball from player

On rightclick with stick:

if name of player's tool is "&dVortex":

if difference between {Sura2::%player%::lastuse} and now is smaller than 5 seconds:

send "&cLatac Mozesz Co 5 Sekund"

stop

set {Sura2::%player%::lastuse} to now

push the player upwards at velocity 3

push the player horizontally forward at speed 15

# TUTAJ WLACZA SIE OCHRONA OD UPADKU

set {falldmg.%player%} to true

on damage:

if name of attacker's tool is "&dVortex":

increase damage by 10

# TUTAJ SPRAWDZA CZY OBRAZENIA SA ZADANE PRZEZ UPADEK

if damage is caused by fall:

if {falldmg.%victim%} is set:

cancel event

clear {falldmg.%victim%}

Odnośnik do komentarza
https://skript.pl/temat/9030-natychmiast-fall-damage-off/#findComment-69901
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ę...