I have this code and it returns a number instead of a string.
local items = {"Murderer","Sheriff","Innocent"} local Person1 = math.random(#items)
You forgot to index your table.
Perhaps you meant items[math.random(#items)]
math.random(#items)
would return a random number between 1 and 3 as the length of the table is 3. Therefore, you would have to index the table with your random number as the index.
local items = {"Murderer","Sheriff","Innocent"} local Person1 = items[math.random(#items)]