#ImageLabel Issue

1 messages · Page 1 of 1 (latest)

fallow flame
#

So i Have this code which update the ui on both sides

local Images = {
    14774891691,
    14774875232
}

local BluePoster = workspace.Map:WaitForChild("BluePoster")
local RedPoster = workspace.Map:WaitForChild("RedPoster")


task.wait(5)
BluePoster.SurfaceGui.ImageLabel.Image = "rbxassetid://"..Images[1]
RedPoster.SurfaceGui.ImageLabel.Image = "rbxassetid://"..Images[2]

but for some reason when updating it the label becomes blank tho i have one of the both ids on it before doing anything
i tried to run it both on client and server

safe apex
#

dont take my word for it but i dont know if u can concatenate a string with a number

#

try:

"rbxassetid://" .. tostring(Images[1])
#

see if it fixes the issue

#

if it still doesnt work, maybe try editing the ImageLabel.ImageContent instead

#

idk tho

spare ember
#

your script doesnt have a problem

#

the id must be invalid

#

I tried your script and it works fine

#

it just takes a while to load the images