local playerHealth = 100
local beingDamaged = "true"
local damageAmount = 7.25
local damageMultiplier = 1

if beingDamaged == "true" then
    damageAmount = damageAmount * damageMultiplier
    playerHealth = playerHealth - damageAmount
    print("Health Remaining:", playerHealth)

elseif beingDamaged == "false" then
    print("Player is currently at 100 health and is not being damaged.")
end

if playerHealth <= 0 then
    print("Player is dead.")
elseif playerHealth <= 35 then
    print("Player is critical.")
elseif playerHealth <= 75 then
    print("Player is significantly damaged.")
elseif playerHealth <= 99 then
    print("Player is slightly damaged.")
end

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: