How can I correct this verse error?

There are always many mistakes. Maybe the problem is my indentation? Sorry if I’m having trouble understanding, but I’m still a beginner in code.
I also don’t understand why “Health updated: {iCurrentHP}/{iTotalHp}” is underlined in red.