How to Make an NPC Vendor Shopkeeper

Beginner 6 min NPCs & AI

A shopkeeper NPC that opens a real shop UI — merging dialogue and economy systems.

Skip the typing

Generate the whole system, every file wired up. Free during beta.

Build it for me

How it works, step by step

  1. 1

    Anchor the vendor model; add ProximityPrompt with ActionText 'Shop'.

  2. 2

    Prompt triggered → FireClient opens the shared shop GUI bound to this vendor's catalog id.

  3. 3

    Vendor catalogs reuse the standard shop config module with a vendor filter.

  4. 4

    Purchases flow through the same validated server purchase pipeline as the GUI shop.

  5. 5

    Idle bobbing animation + face-camera BillboardGuis make it feel alive.

Concepts you'll use

  • Prompt-driven UI opening
  • Catalog reuse
  • Shared purchase pipeline

Mistakes that cost you players

  • Vendor-specific purchase code duplicating shop logic diverges and doubles exploit surface.
  • Unanchored NPCs walk away mid-transaction.

Every script above — written, placed & wired in ~30 seconds

Build it free 🔥

no card · full access in beta

Keep building

All topics