Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Health script won't work in FE what can i do?

local heart1 = lPlayerChar.Head.healthStatus.main.h1
local heart2 = lPlayerChar.Head.healthStatus.main.h2
local heart3 = lPlayerChar.Head.healthStatus.main.h3
     if lPlayerHealth >= 75 then
        heart1.Visible = true
        heart2.Visible = true
        heart3.Visible = true
      elseif lPlayerHealth >= 50 then
         heart3.Visible = false
          heart2.Visible = true
           heart1.Visible = true
      elseif lPlayerHealth <= 25 then
                heart1.Visible = true
                  heart2.Visible = false
                   heart3.Visible = false
      elseif lPlayerHealth == 0 then
                      heart1.Visible = false
                        heart2.Visible = false
                           heart3.Visible = false
         end

5 comments

0

Use code blocks which are ~ so we can read your script correctly, dang it!

0

^^^

0

You may have to change the tabbing so that we can actually read the code.

0

Doesn't it say View Source for you guys?

0

thats not what they are talking about, they can see it just fine, what they are saying... is... WHO IN THE WORLD INDENTS THEIR CODE LIKE THAT, avoid making that cool curve effect when indenting your code, it freaks people out :/

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.