How do I print a whole table without making a mess? like this:
local exampleTable = {"Hello", "Example", 1, 5}
print(exampleTable[1])
print(exampleTable[2])
print(exampleTable[3])
print(exampleTable[4])
this is the script:
local Decisions = {
"Left",
"Straight",
"Right"
}
local TablePrint = {}
for i = 1, 10, 1 do
local Randomizer = math.random(1,3)
table.insert(TablePrint, i, Decisions[Randomizer])
end
print(TablePrint)
it just prints: table: 0x7abaffbc3391dbd5 - Server - Script:4
What's the problem?
this piece of code by the way is to make a map for a maze so I don't have to decide.
the Script type is server-sided I'm also using Roblox Studios Run.
Any problem?
