so i am trying to make a code system a very basic one but why does my code not work? if i put the code in the right text wont show
code = {'2020',
'test',
'cool',
'maybe'}
for i,v in pairs(code) do
if script.Parent.Text == v then
script.Parent.Text = "Valid Command"
else
script.Parent.Text = "Not A Valid Command"
end
end

2 comments
What's the problem exactly?
the text wont show if i put the code in