Came up with a way to make the health never go up past 2 without changing the main and max health values:
this could be useful in two-hit challenges. Also, just setting the main or max health to 2 or anything else seems to mess up how the health is rendered without making changes to the sprites. this is just a lazy way to make it display properly in a situation like this.function onStart()
health.curHealth = 2
end
function onTick()
if health.curHealth >= 3 then
health.curHealth = 2
end
end
Statistics: Posted by AlphaBlue1011 — Tue Feb 18, 2025 7:33 pm