For some reason I can’t send a :GetChildren() table from the Server to the Client, when I print the table before it is sent, it prints as normal and when I print it after it is received on the client side, it is set to nil. Sorry if this is a dumb question, I’m still learning how to use RemoteEvents properly.
Script:
-- Server side
local plr = players:GetPlayerFromCharacter(detainee)
local tools = plr.Backpack:GetChildren()
print(tools) -- This works
searchEvent:FireClient(player, tools)
-- Client side
function Searched(player, tools)
print(tools) -- This is printing as nil
end
searchEvent.OnClientEvent:Connect(Searched)