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
COMMUNITY QUESTION
Is there a way to use the number of a text box as a number?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
