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.

Health Bar

Discussion in 'Scripts' started by CombatMC, Sep 10, 2019.

  1. CombatMC

    CombatMC Member

    Joined:
    May 15, 2018
    Messages:
    0
    Likes Received:
    0
    Health Bar
    A fancy way to display entity's health to players around.​

    Dependencies:
    Config:
    • # Select the entities that are going to have health bar enabled.
      # EXAMPLE: [healthBarTargets: player or cow]
      healthBarTargets: player or cow

      # Add in the argument for health bar entity's health
      # EXAMPLE: [entityCurrentHealth: {_entity}'s health]
      entityCurrentHealth: {_entity}'s health

      # Add in the argument for health bar entity's max health
      # EXAMPLE: [entityMaxHealth: {_entity}'s max health]
      entityMaxHealth: {_entity}'s max health
     
Loading...