I’m making an inventory system, which allows you to swap slots and move items onto your hotbar.
I’m having this weird issue that the value from the server-side is different from the client-side, the [30] slot seems to be stripped off.

Heres the basic code im using:
-- Client Side (Inventory)
local InvContents = Remotes.Inventory.getInventoryContents:InvokeServer()
print(InvContents)
-- Server Side (InventoryHandler)
ReplicatedStorage.Remotes.Inventory.getInventoryContents.OnServerInvoke = function(player)
-- redraw
local d = InventoryManager.GetAllItemsWithinInventory(player)
print(d)
return d
end
-- Server Side (InventoryManager (Module))
function IH.GetAllItemsWithinInventory(player)
invExists(player)
print(inventories[player.UserId])
return inventories[player.UserId]
end
Thank you, Dwifte