Sending a folder to the client

I have a folder that’s unable to be reached by the client. This folder consists of String, Number and Bool values. I need to send the contents of this folder to the client (with their values preserved) in a small window of time.
I cannot move the folder out of its current position and I cannot move the client code to the server.
I have already tried using remoteFunctions to grab each value from the server. It takes too long to grab each value 1 by 1 and by the time they are gotten, the values may have updated and would need to be fetched again.
Ideally, the server would send a table that contains each Value, and then .Value could be used to get the numerical/string/boolean value of that value (akin to what it would be like if the table was the actual folder)
Please help, I am not able to think of any solutions.

Well, the best thing you could do is send the values in an interval, and have each value of something in a table ex:

local values = {}
local folder = --folder

for i,v in pairs(folder:GetChildren()) do
    values[v.Name] = v.Value
end

--send to the client

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.