So I just figured out that I can pass a table through a remote event and access all the variables inside it from the server
for example
Local Script
Tbl = {}
Tbl.X = 'Gay'
Tbl.Y = 'Scriptinghelpers'
Remote:FireServer(Tbl)
Server Script
Remote.OnServerEvent:Connect(function(player,table)
print(table.Y..Table.X) --Should Work printing ScriptingHelpersGay
end)
but when I try this with a mouse for example
Remote.OnServerEvent:Connect(function(player,Mouse)
print(Mouse.Hit.Position) --Won't work
end)
