Hello, I'm having this issue as im trying to get the listed Arguments of a RemoteEvent.
Im trying to add custom amounts of arguments to a RemoteEvent, it worked fine but the issue is unpacking the info. Its treated as an instance and i cant figure out how to get each argument.
Ive tried:
Table.Unpack
for i,v in pairs(...) do end
...[1]
I would appreciate it if someone could solve my issue
The code in question:
script.Parent.Instance.OnServerEvent:Connect(function(...)
local args = table.unpack(...)
print(args[1])
--Instance.new(...[1])
end)

1 comment
table.unpack doesnt work because it treats ... as an instance instead of a table