Pathfinding (AI, Dynamic Paths, Modifiers) - Roblox Advanced Scripting #35 (2025)
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! 👇 https://www.patreon.com/BrawlDev JOIN THE COMMUNITY 📜Discord: https://discord.gg/WC6kPu5W5P 🟣Twitch: https://www.twitch.tv/brawldev 🐦Twitter: https://x.com/BrawlDevRBLX 🎮Roblox Group: https://www.roblox.com/communities/34569363/BrawlDevs-Hideout 📜Become a PRO Roblox Scripter by following these playlists! 👇 🔴Advanced Scripting Guide: https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3WKkVHnadvhOOjz04AuMYAf 🟢Beginners Scripting Guide: https://youtube.com/playlist?list=PLFmYTXJrXDg67iljZP9yRqOC9Jk388eZ5&si=ZNaq1wQ7Dvaqk__a 🎨GUI Guide: https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3Xnlu8u9hCYClLurMQYJIrz 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/reference/engine/classes/PathfindingService https://create.roblox.com/docs/characters/pathfinding https://create.roblox.com/docs/reference/engine/classes/PathfindingModifier https://devforum.roblox.com/t/npc-follow-script/350173
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.