Why can't use .Text?

So I’m using a textlabel, but for some reason I can’t use .Text even though it is.
Script:

local Name = PlayerGui.IconsGui.BackgroundInventoryGui.InventoryGui.DescriptionGui:WaitForChild("NameLabel")

Name.Text = (script.Parent.ItemName.Value)

Output:
Text is not a valid member of ImageLabel "Players.SilentSuprion.PlayerGui.IconsGui.BackgroundInventoryGui.InventoryGui.DescriptionGui.ImageLabel"
Thanks for reading.

It’s an imagelabel, imagelabels can’t have texts.

1 Like

OH I realized there was 2 variables thanks a lot this really helped.