Trying to get a character to move while sleeping

What’s the next line in the script?
Sometimes the problem is elsewhere and a different part doesn’t work properly.