I want to change an image's ImageRectOffset when its parent (which is a billboardgui) is disabled. I thought it would be pretty simple but I don't know where I went wrong.

function test()
	if Billboardgui.Enabled == false then
		--wait()
		Billboardgui.Image.ImageRectOffset = Vector2(0,100)
	end
end