Pathfinding (AI, Dynamic Paths, Modifiers) - Roblox Advanced Scripting #35 (2025)

Опубликовано: 01 Апрель 2026
на канале: BrawlDev
120,407
3.5k

Learn how to implement pathfinding into your Roblox game! This feature creates smart paths to move a character from a start point to an end point. We also cover pathfinding modifiers to make smarter pathfinding decisions, creating an "NPC Following Player" script, and more!

PATREON🎁
Get Access To My Scripts + More Perks By Becoming a Patreon Member! 👇
  / brawldev  

JOIN THE COMMUNITY
📜Discord:   / discord  
🟣Twitch:   / brawldev  
🐦Twitter: https://x.com/BrawlDevRBLX
🎮Roblox Group: https://www.roblox.com/communities/34...

📜Become a PRO Roblox Scripter by following these playlists! 👇
🔴Advanced Scripting Guide:
   • Roblox Advanced Scripting Tutorial Guide (...  
🟢Beginners Scripting Guide:
   • Roblox Beginners Scripting Tutorial Guide ...  
🎨GUI Guide:
   • Roblox GUI Tutorial Guide (2023-2025)  

In this 2023-2025 Guide to Roblox Scripting for Advanced Developers, I will go through everything you need to know to continue scripting on Roblox!
My new mission is to have fun teaching everything I know from developing games on Roblox since 2016. We will dive into scripting concepts as basic as printing to as complicated as raycasting. For every episode of this series, I encourage you to do everything I do to gain experience and let it stick with you so that you can create the games you're passionate about on your own. Enjoy this series and remember: being a competent scripter takes time and effort so don't get discouraged if things get too tricky. Remember where your inspirations came from; if you can be a Roblox scripter, then anyone can!

Timestamps:
00:00 Intro
00:49 CONCEPTION
01:38 Calculating Path (CreatePath & ComputePath)
09:47 Move NPC Along Path (+Jumping & Climbing)
16:43 Setting Material Costs - Modifier #1
21:23 Defining Unwalkable Regions - Modifier #2
23:28 Choosing a Specific Path - Modifier #3
25:20 "NPC Following Player" Script Breakdown
31:57 Drawbacks / Is Roblox's Pathfinding Good?

Tags:
#roblox #robloxstudio #robloxscript #robloxscripting #robloxadvancedscripting #robloxdev #robloxdevelopment #robloxdeveloper #robloxprogramming #scripting #programming #gamedev #gamedevelopment #gamedeveloper #robloxtutorial #robloxscriptingtutorial #gameprogramming #gamedesign #tutorial #howtomakearobloxgame

DOWNLOAD ROBLOX STUDIO HERE:
https://create.roblox.com
(On the left side under "Quick Links", click on "Studio" and download)

More Resources:
https://create.roblox.com/docs/refere...
https://create.roblox.com/docs/charac...
https://create.roblox.com/docs/refere...
https://devforum.roblox.com/t/npc-fol...