How do i make an image label change when a text labels text is == to something?

no, the text updates when the object is being clicked on

I really don’t see why this wouldn’t be working also is it a clone or is it the object directly being updated?

object as in textlabel right, if so its being directly updated

ItemName.Changed:Connect(function()
	print("Check 1") -- add a print here
	if ItemName.Text == "Wood" then
		print("Check 2") -- add a print here
		ImageLabel.Image = "rbxassetid://6421015596"
	end
end)

try to do this just curious to see what happens

ah this is what happens, but it doesn’t do the second check
Screen Shot 2021-02-20 at 10.35.51 PM

Okay great, so we are finally getting somewhere! So now to confirm that it is saying wood do print(ItemName.Text)

under check one or check two??

You should put it under Check1

it prints “Label” as soon as i join

Do you think you could link the game as a place file, i don’t want this process taking too much longer since i need to get off soon, i’d like to just get you on your way at this point.

idk how to do that

Save to file (Download A Copy) then send it here

alright heres the link Inventory.rbxl (55.4 KB)

Alright so your text doesn’t even match with wood if you input it yourself which is strange.

I think you have an invalid image here, everything else is working for me when you type wood into the text.

Replace the imageid with 6421015581 and you should be good to go now. :slight_smile:

hm, the image id doesn’t work either

its still the same

I just made some edits… Should be fixed now.

EditsFixes.rbxm (12.7 KB)

If the above doesn’t work then try changing the image id, through the script
to: rbxassetid://6436869676

it prints nothing and the image is just blank when a player picks up the item