Lua testing. if stats ~= nil then -- This runs when stats is not nil.