"Generate a Roblox Lua script for a game where players collect items that spawn randomly around the map. Each player has an inventory to store their items. When a player collects an item, it should disappear from the map and appear in their inventory."