local colors = {"0xFF0000", "0x00FF00", "0x0000FF"} -- Color cycle local current = 1 Customui:setColor(playerid, uiid, elementid, colors[current]) current = (current % #colors) + 1 -- Rotate colors