Image is changing to something other than it's intented to be?

I’m making a loading screen that shows the map you’re entering. When I load in, one map seems to load wrong. Instead of showing the image in the imageID variable, it changes it to something different. How do I stop this?

local folder = game.ReplicatedStorage:WaitForChild('loadingStats',15)
script.Parent.mapName.Text = folder.mapName.Value
script.Parent.mapCreator.Text = "Created by "..folder.mapCreator.Value
script.Parent.Parent.ImageLabel.Image = 'rbxassetid://'..folder.imageID.Value

Hello! I think I may need just a bit more information to better understand.

Is the value of ImageLabel.Image changing to another unexpected ID after you assign it to folder.imageID.Value? And is the image it changes to seemingly random? (not an image you’re using or know anything about)

I fixed it, I was using the decal’s ID, not the image’s ID.

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