Я решил это
local original = '\x00\x00\x01f\xd3d\x80X'
local param = '\x00\x00\x01f\xd3d\x80W'
local temp1 = ''
local temp2 = ''
for i = 1, #original do
local c = original:sub(i,i)
temp1 = temp1.. string.byte(c)
-- print(string.byte(c))
end
for i = 1, #param do
local c = param:sub(i,i)
temp2 = temp2.. string.byte(c)
-- print(string.byte(c))
end
if(temp2>temp1) then
print(1)
else
print(0)
end