Hero wont summon and gettin an error

heh…what while true loop? I see only definitions.