Game System

Npc Ai

Scripted AI Monster NPC system designed to actively patrol or wait and detect nearby players, then chase, attack, and eliminate them based on proximity and state logic

Year :

2025

Project Duration :

2 Days

Key Features:

  • Proximity Detection – Constantly checks for nearby players using magnitude distance checks and
    region-based detection for efficient performance.

  • Chase & Targeting Logic – Once a player enters detection range, the monster switches to chase
    mode using PathfindingService to pursue the target.


  • Attack Sequence – Upon reaching the player, the monster initiates a timed attack animation,
    applies damage, and triggers a kill state if conditions are met.


  • State Machine System – The monster operates on a simple but reliable state machine (Idle →
    Detect → Chase → Attack → Reset), making it easy to extend and control behavior.

Game ShowCase

More Projects

Game System

Npc Ai

Scripted AI Monster NPC system designed to actively patrol or wait and detect nearby players, then chase, attack, and eliminate them based on proximity and state logic

Year :

2025

Project Duration :

2 Days

Key Features:

  • Proximity Detection – Constantly checks for nearby players using magnitude distance checks and
    region-based detection for efficient performance.

  • Chase & Targeting Logic – Once a player enters detection range, the monster switches to chase
    mode using PathfindingService to pursue the target.


  • Attack Sequence – Upon reaching the player, the monster initiates a timed attack animation,
    applies damage, and triggers a kill state if conditions are met.


  • State Machine System – The monster operates on a simple but reliable state machine (Idle →
    Detect → Chase → Attack → Reset), making it easy to extend and control behavior.

Game ShowCase

More Projects

Game System

Npc Ai

Scripted AI Monster NPC system designed to actively patrol or wait and detect nearby players, then chase, attack, and eliminate them based on proximity and state logic

Year :

2025

Project Duration :

2 Days

Key Features:

  • Proximity Detection – Constantly checks for nearby players using magnitude distance checks and
    region-based detection for efficient performance.

  • Chase & Targeting Logic – Once a player enters detection range, the monster switches to chase
    mode using PathfindingService to pursue the target.


  • Attack Sequence – Upon reaching the player, the monster initiates a timed attack animation,
    applies damage, and triggers a kill state if conditions are met.


  • State Machine System – The monster operates on a simple but reliable state machine (Idle →
    Detect → Chase → Attack → Reset), making it easy to extend and control behavior.

Game ShowCase

More Projects

Create a free website with Framer, the website builder loved by startups, designers and agencies.