Try this:
And afterwards if you need to access the chest you can use this:
World:SetBlock(Player:GetPosX(), Player:GetPosY(), Player:GetPosZ(), E_BLOCK_CHEST)
And afterwards if you need to access the chest you can use this:
World: DoWithChestAt(Player:GetPosX(), Player:GetPosY(), Player:GetPosZ(), function(chest) -- Do something with the cChestEntity like filling it up end )