function SoMany(...)
--[[
to get individual args just use this
]]
local arg = table.pack(...)
print(arg[1].. " string")
task.spawn(function()
for _,v in arg do
print(type(v))
end
end)
print(...)
end
SoMany("text", true, Player.Name, workspace)
For a remoteevent, depending on if the data is correct (secured) it will call a function. One of the checks is going to make sure that all the data passed through the remote event to the server has the same arguments as a certain function. I thought It would be possible because we can get the number of args with debug.info, so why not the values?
@HugeCoolboy2007 Interesting, but not what I’m looking for @weakroblox35 I’m trying to get arguments directly from a function without calling it