local ItemList = require(game.Workspace["Main System"].ItemList)

wait (1)
while true do
	wait ()
	if script.Parent.Text ~= "" and script.Parent.Text ~= nil then
		local Text = script.Parent.Text + 1 -1 --im searching for a better way to do this
		local TextureID = ItemList[Text]["TextureID"]
		script.Parent.Parent.Picture.Image = ("http://www.roblox.com/asset/?id="..TextureID)
	end
end