I’ve been developing a game and the mechanics of it is Question and answer Every time the user answer a question it will go to the next question until it reach its maximum number of the table. I’ve put 10 questions in a table how do i limit this to 5 questions that will appear on my game? even though it contains 10? I don’t want to remove the 5 questions since my table is shuffled.
local questions = {}
#questions <-- how do i limit this one?