Lua error in မော်ဂျူး:scripts/sandbox at line 232: attempt to call method 'hasType' (a nil value).