length of table roblox code example Example: table.length roblox local table = {"Hello","World", 1, 5} print(#table) --Result: 4