Did you call it in a procedure? I just compiled this in Simba
Simba Code:
procedure blahblah;
var
x, y : Integer;
begin
if(FindColor(x,y,111,220,120,286,153)) then
begin
Writeln('Eating > Using selected food.')
Wait(randomrange(1200, 1300));
if (FindColor(x,y,111,556,256,724,451)) then
begin
MoveMouse(x,y+random(3));
Wait(randomrange(500, 700));
ClickMouse(x,y,mouse_Left);
Wait(randomrange(300, 450));
end;
MoveMouse(642,183); //Move to BackPack
Wait(randomrange(20, 30));
ClickMouse(642,183,1); //Click BackPack
end;
end; //Showing Error Here.
Compiled successfully in 546 ms.