I am having an error with image buttons

So ive been scripting this thing where you click to code and I took screenshots of code and made the frame change everytime the player clicked. The problem is the imagebutton always shows a white screen. Is there anyway we can remove the white screen as the image button loads?

1 Like

Make the ImageButton transparent?

1 Like

Wont that prevent the player from seeing the image?

have you made sure that the ImageTransparency is 0? Also, if you could, make sure that the ID is correct too. Look in the console for any of the ID’s you are using.

the images load but the problem is that it takes a few seconds for it to load and before they load it shows a white screen

Yeah, decals usually take a while to load. A little fix to this is adding a script in ReplicatedFirst and using ContentProvider to preload your images.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.