First, make sure the script can pull colors correctly, run the following on both machines with the emulator window targeted, the same color should be debugged on both.
Simba Code:
Writeln(GetColor(1,1)); //or any coordinate that is in range
You're using fixed coords for the search area, have you made sure your emulator window is the same dimensions across both machines? If not those coords may not be where you think.
Edit:
Also I'd personally write your code like such, looks neater and easier to see the conditional dependencies if they're all in one place. It's still a potetntial infinite loop though, which is generally bad practice. A timer is a good idea.
Simba Code:
while (not FindColorSpiralTolerance(x, y, 13026752, 277, 450, 277, 450, 0)) and
(not FindColorSpiralTolerance(x, y, 1946367, 285, 60, 342, 99, 0)) do
Wait(100);