Solved Custom HP System For Players

  • 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 community!

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Idiosyncratic

Member
Feb 21, 2017
62
0
0
USA
So I'm making RPG stats, and they were mostly pretty easy to do. But HP has stumped me for so long. I can't just edit the vanilla HP/Max HP, the extra hearts get annoying, and players could end up having thousands of HP. Setting a variable for both of them wouldn't work, as I need there to be knockback and the hearts to decrease. So I started trying to link the HP bar to the variable, and just can't figure anything out.

Any help would be GREATLY appreciated.
 
The health scale a player is shown. Health scale determines how many hearts a player can see and can be used to increase max hp without altering heart count.
Add example
Health Scale Mode
Addon: SkQuery
Patterns:
%players%'s scaled health (state|ability|mode)
[the] scaled health (state|ability|mode) of %players%

idgaf about the formatting of this reply, use the documentation and search health scale.
 
Status
Not open for further replies.