#Getting a table's table variables randomly?

9 messages · Page 1 of 1 (latest)

past thistle
#

normally i would put math.random(1, #dialogues) if this were 1 table, but how do i scope to just getting the variables within idle?

local dialogues = {
    idle = {
        }

        action = {
        }
}
full idol
full idol
small frost
#

AHAHAHA

#

🐌

full idol
#

NOOO

small frost
# full idol NOOO

btw how would i check if a player is currently touching an object rq

full idol