Jump to content

Invislol

Member
  • Posts

    147
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Invislol

  1. on damage:
        set victim's chestplate to {_c}
        if {_c} is "<none>":
            set victim's leggings to {_l}
            if {_l} is "<none>":
                set victim's boots to {_b}
                if {_b} is "<none>":
                    set victim's helmet to {_h}
                    if {_h} is "<none>":
                        cancel event 
    
    on damage:
        set attacker's chestplate to {_c}
        if {_c} is "<none>":
            set attacker's leggings to {_l}
            if {_l} is "<none>":
                set attacker's boots to {_b}
                if {_b} is "<none>":
                    set attacker's helmet to {_h}
                    if {_h} is "<none>":
                        cancel event 

    Btw this is not tested so you will have to test and if its broken fix it ;D

  2. On 5/12/2021 at 9:47 PM, JPowerBOSSTRONIO said:

    Ok i suggest that you do {Deaths.%player%}?


    Hey I would say use uuid

    Example:
     

    on death:
    	add 1 to {deaths.%victim's uuid%}
    
    #or,
    
    on death of player:
    	add 1 to {deaths.%player's uuid%}
    
    # You can use %uuid of player% too!

     

×
×
  • Create New...