1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Bug!

Discussion in 'Requests' started by christianmv84, Jan 3, 2018.

  1. christianmv84

    christianmv84 Active Member

    Joined:
    Jul 20, 2017
    Messages:
    50
    Likes Received:
    0
    Code (Skript):
    1. on damage:
    2.     attacker is a player
    3.     victim is a player
    4.     set {Hitted::%victim%} to attacker
    5.     set {Hitted::%attacker%} to victim
    6.     wait 15 seconds
    7.     delete {Hitted::%victim%}
    8.     delete {Hitted::%attacker%}
    Code (Skript):
    1. on death:
    2.     if damage was caused by void:
    3.         victim is a player
    4.         if {Hitted::%victim%} is set:
    5.             set death message to "&a%victim% &7fue tirado al vacio por &c%{Hitted::%victim%}%"
    6.         else:
    7.             set death message to "&a%victim% &7se ha tirado al &cvacio"
    That supposedly is a hitdelay, with a coldown of 15 seconds, because when I throw someone into the void, the coldown sometimes says that he has thrown himself and others that he has thrown me, and always has the coldown activated, always I shot you before the 15 seconds pass, it must be some bug, it is not deleted or it is not attached correctly
    Can anybody help me
     

Share This Page

Loading...