#can sombody help me with a hearts skript above the players head please.

1 messages · Page 1 of 1 (latest)

ionic moth
#

on join:
wait 1 tick
loop players:
set score " Health" below player to player's health for loop-player

on damage:
victim is a player:
loop players:
set score " Health" below victim to victim's health for loop-player

on heal:
event-entity is a player:
loop players:
set score " Health" below event-entity to event-entity's health for loop-player

#

this is what i have got

#

but it does not work

solar kite
#

define "does not work"

#

do you get any errors?

ionic moth
#

yeah

#

i have errors

#

want pictures?

solar kite
#

yea

ionic moth
#

3 different erros

#

im tryna make it so i have the health above my head

#

while wearing my armor

solar kite
#

try

  event-entity is a player:
    set score " Health" below event-entity to event-entity's health for player

on damage:
  victim is a player:
    set score " Health" below victim to victim's health for victim

on join:
  set score " Health" below player to player's health for player```
ionic moth
#

alr

#

3 erros again

solar kite
#

whats score? are you sure thats a thing

ionic moth
#

idk it was in the code ya sent

#

me

#

on heal:
event-entity is a player:
set score " Health" below event-entity to event-entity's health for player

on damage:
victim is a player:
set score " Health" below victim to victim's health for victim

on join:
set score " Health" below player to player's health for player

#

3rd line

#

set score

solar kite
#

what are you trying to make?

ionic moth
#

so

#

basicly

#

a thing were

#

you can see how many hearts

#

people have

#

above their heads

#

while they have their armor talisman and all that on

#

but i cant find a plugin like that

ionic moth
#

i found it

#

on google

#

xd

#

but it was made 2 years ago

solar kite
ionic moth
#

oh

#

alr

#

ty

solar kite
# solar kite you can get skript health bar for that https://www.spigotmc.org/resources/skript...

this is basicly the skript you would download

    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```
ionic moth
#

so should i put that in?

#

wait

#

i got an error

#

what should i do

#

?

solar kite
#

you need skbee too tho

ionic moth
#

oh

#

is that why

#

i just got

#

about

#

995928582868376 erros

#

errors*

#

do i need health bar as well btw?

#

that had erros

#

errors*

#

okay wait

#

yo

#

it worked

#

but its inside names

#

how do i make it below the name?

solar kite
#

idk it isn't my skript

#

dont know whats in it

ionic moth
#

ah shi

#

should i look on youtube?

#

cuz i cant see like an x-y thing

#

or a y thing

solar kite
ionic moth
#

hey btw

#

@solar kite

remote jolt
#

you can do this in vanilla Minecraft with just 2 commands

#

you don't need a plugin or a skript