The tool needs to track the mouse and detect where and when it was clicked. As long as the pointer isn't off in the skybox rather than over a brick, you can clone a food part out of the Lighting folder, parent it to Workspace, and move it to the pointer's position.
If you'd rather it didn't follow the mouse, spawn it above the player's head or at a fixed coordinate instead — same logic, different destination.
Worth moving the template into ServerStorage or ReplicatedStorage rather than leaving it in Lighting, since Lighting is meant for visual effects and cloning from it can behave oddly.