Say I was trying to sort out a single value from a table, and match it up with another value from some other script (Like an IntValue, string value.) Would this work, or would I need some modifications?
local TVON = script.Parent["textVal-ObjName"] local tableofItems = { "item1";"item2";"item3";"item4"; } TVON.Changed:connect(function() --when the value changes. local name = TVON.Value if name.Value == tableofItems then --codehere end end)

1 comment
Please put your code into a code block, it is hard to understand in un-formatted form.