Learn the Basics of Writing Code in Verse Lesson 6: Practice Time!

HurtPlayer()
Print(“Player Hurt”)
Sleep(5.0)
HealPlayer()
Print(“Player Healed”)

To get this to work consistently I had to add a delay before the first call to Hurtplayer.

I put a Sleep(5.0) and a Sleep (10.0) before the first call and I still can’t get it to work.

How did you made the lesson 5 practice time code to work? It is doing nothing on my end.