Button images not loading through script

I’ve created a level scroller but the images are very broken


You can see in here I have Cell-4 selected (With the surrounding blue box)
The only image that shows is Cell-3 (The one left of Cell-4)

Heres my code

local function updateCellImages()
	local cells = {
		Cell_1,
		Cell_2,
		Cell_3,
		Cell_4,
		Cell_5
	}

	for i, cell in pairs(cells) do
		if Pages[tonumber(cell.ZoneLevel.Text)] then
			cell.Button.Image = Pages[tonumber(cell.ZoneLevel.Text)].image
		end
	end
end
  • Pages output
    image

The image Id in the buttons are correct but shows no image

If you look closely you have the ImageTransparency set to “1”. You need to set that to “0”.