Solved How do i remove text above 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 comminuty!

    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!

MasterLooter

New Member
Mar 24, 2023
5
0
1
14
i have a skript that shows player health above players but i dont know how to remove the text with code, how can i do this?

the skript:

on join:
while player is online:
loop all players:
set score "&c❤" below player to player's health for loop-player
wait 0.1 seconds
 
um, im asking how i can remove the text i added using skript?
in the loop, set a condition, a boolean variable maybe, or metadata whatever suits your needs, and when you want to turn it off simply set the boolean/metadata to false.

EDIT: Check this out for metadata.