So, I'm creating a game in which needs to determine if a string is a type 's' or a type 'm'. I created the tables for S and M but I don't know how to make the if-statement read the table. I've tried to look on the ROBLOX Wiki but nothing seems to make sense or I may have missed something. Can someone give me a link or some advice on how to fix this? Thanks!
local SList = {"Cut the String!",
"Banana Ninja",
"Angry Penguins",
"Full-Life 2",
"Ice Tower",
"Morio vs. Dinkey King",
"Need for Sleep",
"Pikamon",
"World of Glue"}
local MList = {"Rocket Team"}
if rp.Selected.Text == #SList then
recordtype.Value = "s"
elseif rp.Selected.Text == #MList then
recordtype.Value = "m"
end
print(recordtype.Value.." Here")
