#how do u make a health bar above your head?
1 messages · Page 1 of 1 (latest)
you can use skbee
https://skripthub.net/docs/?id=8353
https://skripthub.net/docs/?id=8366
https://skripthub.net/docs/?id=8367
Create an objective.
ID = the id used to keep track of your objective.
CRITERIA = uses a criteria object. If using an older server version, this will just be a string.
NAMED = the display name of this objective.
RENDER TYPE = how this objective will render, hearts or integer.
DISPLAY SLOT = where this objective will render.
send txt plz
for sm reason
permissions: true
# values: ( true | false )
perm-to-see-the-health-bar:sh.ver.a.vida
# Write here your permission. This system only works if you have "permissions: true"
on join:
while player is online:
if {@permissions} = true:
if player has the permission "{@perm-to-see-the-health-bar}":
loop all players:
set score " Health" below player to player's health for loop-player
wait 20 ticks
else:
loop all players:
set score " Health" below player to player's health for loop-player
wait 20 ticks```
got this from spggot
your syntax is skrayfall
look at these doc links and replace it with
set score " Health" below player to player's health for loop-player
alr ty
from filling in the syntax, you would do something like this
objective with id "health" with criteria health named "Health" with render type %rendertype% with display slot below name
oh k
choose your render type using the last link