I looking for a script to merge the consecutive regions of the same color to one region , 3 to 8 11 to 16.
I converted Script: X-Raym_Merge consecutive regions with same name.eel to do colors instead of names but it didn't work too good, I also need it in Lua to to merge with another Lua script.