Can't send table from Server to Client

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)

OnClientEvent does not give a player argument because the remote function was called by the server, so player would be the table you sent from the server

2 Likes

I feel so stupid right now. :man_facepalming: Thanks for the help.