Lua error: attempt to compare string with number.

Lua error: attempt to compare string with number.