I haven't been able to figure out what order to do unpacking for my script. The first one a table starts in is:
while wait(1) do
if match.Value == true then
game.ReplicatedStorage.TeleportPlayers:Fire(QueuedPlayers)
end
end
Then if I type in:
print(unpack(QueuedPlayers)
It will print My user fine. However, when I send this to another script the values are just gone. Here is the next script that it should be printed in:
local QueuedPlayers2 = {}
game.ReplicatedStorage.TeleportPlayers.Event:Connect(function(QueuedPlayers)
local QueuedPlayers2 = QueuedPlayers
end)
I add:
print(unpack(QueuedPlayers2)
and it gives me nothing, why is this?

1 comment
I kept trying to unpack it in the other script and this one (¬?¬) thanks your your help though!