thank you so much but it work when i removed this skript
options:
permissions: true
perm-to-see-the-health-bar:sh.ver.a.vida
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.