NPC that gives items like vending machine

Overview

 

Scripts

game.Workspace.ShopNPC.onPlayerApproach

game.StarterGui.ShopGui.shopGuiController (LocalScript)

game.ServerScriptService.giveGold