Module

local module = {B = false, ['GGG'] = 'My', S= 'GirlFriend', C = 'Just', x = 'Left', qw = 'Me'} 


return module

ServerScript

Mod = require(game.Workspace.ModuleScript)

while wait(1) do
	print(unpack(Mod))
end


Prints Nothing but when I do a I,v loop it perfectly prints everything

while wait(1) do
for I,v in pairs(Mod) do

print(I,v)

end

end

3 comments

0

unpack only upacks the array part of a table.

0

I mention that in my tutorial on tables here: https://forum.scriptinghelpers.org/topic/889/part-1-all-about-tables