How to PATHFIND in Roblox 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024
  • เกม

ความคิดเห็น • 152

  • @CritDEV
    @CritDEV  ปีที่แล้ว +302

    Link to API
    www.roblox.com/library/11229474803/Forbidden-API-OFFICIAL
    Enjoy making your game!

    • @Sfunuses_5
      @Sfunuses_5 7 หลายเดือนก่อน

      it didn't@Bolita-sh1ts

    • @JoaoMiguelSts
      @JoaoMiguelSts 3 หลายเดือนก่อน +4

      Thanks

    • @Losted043
      @Losted043 2 หลายเดือนก่อน +1

      Bro cant we use a beam with attaching to the players rig

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      @@Losted043 what do you mean?

    • @realnathanbs
      @realnathanbs หลายเดือนก่อน

      @@Losted043?

  • @MarkCooper0
    @MarkCooper0 3 หลายเดือนก่อน +878

    That dummy following you in default pose and and catching up to you is creepier than any other horror game I've seen bro 💀

    • @justjordan6147
      @justjordan6147 2 หลายเดือนก่อน +23

      Imagine walking up to a coil head, your light flashes off and you see a face appear on it giving ya arm a little nibble. That face was traumatizing and thinking back almost gives my stomach the rumbles. 😢

    • @romm24sa52
      @romm24sa52 2 หลายเดือนก่อน +3

      top 5 scariest jumpscares

    • @l3alfie693
      @l3alfie693 2 หลายเดือนก่อน +4

      ​@@justjordan6147go eat some food then?

    • @akuma6274
      @akuma6274 17 วันที่ผ่านมา

      No it’s not scarier

  • @Ash_Can0706
    @Ash_Can0706 4 หลายเดือนก่อน +315

    ez line of code
    “- -Make me a pathfinding system”

    • @wowierosieposie
      @wowierosieposie 3 หลายเดือนก่อน

      More like "IfPlayer; follow" (I actually don't know if this works lol)

    • @MarketBlob
      @MarketBlob 2 หลายเดือนก่อน +4

      Ask that question about 10000 times 😂

    • @mohammadshamayleh-gz6oc
      @mohammadshamayleh-gz6oc 2 หลายเดือนก่อน +5

      lol whats the best part is that idk how to code and i asked chat gpt how to make one with spisifcations and it worked but its a bit buggy (done in 2 hours)

    • @Yichh
      @Yichh 13 วันที่ผ่านมา +2

      Chatgpt makes more errors than you think…

    • @Ash_Can0706
      @Ash_Can0706 13 วันที่ผ่านมา +1

      @@Yichh nah man Siri DEFINITELY got your back

  • @jones_y
    @jones_y ปีที่แล้ว +528

    sorry, one line? what kind harry potter x voldemort bs is this

    • @CritDEV
      @CritDEV  ปีที่แล้ว +75

      xD idk, just some code man

    • @GiulianoBR3
      @GiulianoBR3 ปีที่แล้ว +150

      3000 lines but you cant press enter

    • @jones_y
      @jones_y ปีที่แล้ว +28

      @@GiulianoBR3 LMAO

    • @simoniko1016
      @simoniko1016 ปีที่แล้ว

      ppl actually do that hoping that itll be harder to read@@GiulianoBR3

    • @lightbulbproductions6847
      @lightbulbproductions6847 ปีที่แล้ว +62

      Never question WHY the code works
      The code is aware of this and will force itself to not

  • @Just_SpincerYT
    @Just_SpincerYT 3 หลายเดือนก่อน +58

    As an extremely new developer who has only just learned use blender and rig models and wants to create a fully working path finding script for that model....I was extremely terrified upon hearing those first 2 sentences, so yes I will be using that other method 😃

    • @SaleMales
      @SaleMales 2 หลายเดือนก่อน +2

      there a SimplePath module which is helping a lot

  • @loganroman5658
    @loganroman5658 10 หลายเดือนก่อน +59

    That thumbnail looked cool though

  • @InstaplayJT
    @InstaplayJT 2 หลายเดือนก่อน +25

    you might not believe it but this guy saving “suffer like i did” IS a project moon reference.

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน +3

      @@InstaplayJT unfortunately I have no idea what that is

    • @InstaplayJT
      @InstaplayJT 2 หลายเดือนก่อน +1

      @@CritDEV didnt think you would respond ngl loll project moon is the name of a group that makes games

    • @MasakoMizukiCH
      @MasakoMizukiCH 2 หลายเดือนก่อน

      Project moon mentioned
      Activating project moon sleeper agent protocol.

    • @gladiador3446
      @gladiador3446 16 วันที่ผ่านมา

      You must suffer,like i have...

    • @NahIDontExistrn
      @NahIDontExistrn 16 วันที่ผ่านมา

      Pm fans are everywhere omg 😭

  • @OrganicMilkGang
    @OrganicMilkGang 2 หลายเดือนก่อน +2

    i've been learning how to build for a while now since i've been scripting for years and wanna be able to create decent games on my own but i hopped back into learning a bit of scripting and holy crap this is amazing

  • @squigglesz
    @squigglesz 9 หลายเดือนก่อน +18

    thanks a lot im working on a horror game and this made the monster 10+ iq

  • @DumbAccount634
    @DumbAccount634 25 วันที่ผ่านมา +1

    omg tysm i remember suffering trying to get it to work

  • @ambush_but_the_worst
    @ambush_but_the_worst 2 หลายเดือนก่อน +6

    that unmoving chasing dummy is terrifying, make it have a jumpscare and oneshot the player then it'll be perfect for a horror game

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      @@ambush_but_the_worst Forbidden provides you a perfect skeleton for introducing behaviors such as that!
      See the precoded solutions with forbidden on my channel

  • @jamaelmi343
    @jamaelmi343 3 หลายเดือนก่อน +3

    Pathfinding is good as unlike normal run to the nearest player it wont run into walls and you can chose what it can touch and what it cannot

  • @Antihack2012
    @Antihack2012 4 วันที่ผ่านมา +1

    Tencell used it for the maze of bind glove

  • @BubuTheDev
    @BubuTheDev 22 วันที่ผ่านมา +1

    I made a tutorial on the forbidden API but I credited you!

  • @incription
    @incription 12 วันที่ผ่านมา

    its because roblox has pathfinding built in but you need to setup your map to allow the npcs to pathfind correctly

  • @totallypump
    @totallypump 2 หลายเดือนก่อน

    Pathfinding took me almost a literal month of searching for fixes online 😭

  • @ElCaballeroGris456
    @ElCaballeroGris456 17 วันที่ผ่านมา +1

    Esto ya es más avanzado que el sistema de npc del Blox

  • @CraftedLeah4545
    @CraftedLeah4545 13 วันที่ผ่านมา

    I had to spend 2 and a half months perfecting a pathfinding npc I made, it was torture with all the debugging

  • @WhiteCircle63
    @WhiteCircle63 9 หลายเดือนก่อน +2

    Bruh. I once had some sh** in pathfinding that caused it to lag. I solved it now and it was something with NetworkOwnership. Pretty stupid and caused a lot of demotivation.

  • @nitrogamepower5034
    @nitrogamepower5034 3 หลายเดือนก่อน +1

    You can just use the ai of the nextbot in the free model toolbox but im just saying you can make it more better :)

  • @Axcyantol
    @Axcyantol 2 หลายเดือนก่อน

    i used an already made thing, had to rework like half the stuff for what i was trying to do, and now the enemy slows down to a specific speed after the first pathfind

  • @alexsgarbagehut2517
    @alexsgarbagehut2517 9 หลายเดือนก่อน +11

    I used this AI in my zombie chase and when zombie killed the player, the AI just stops and the "NoPath" error appears. How do I fix it based on code?

    • @CritDEV
      @CritDEV  9 หลายเดือนก่อน +1

      Since the players character no longer exists, the ai cannot path to the part that no longer exists. Update the references and recall the api

  • @tdtnecniv3856
    @tdtnecniv3856 2 หลายเดือนก่อน +10

    thought this was a suiryu ult move ;-;

    • @dnnjwastaken
      @dnnjwastaken 2 หลายเดือนก่อน

      same lol

    • @tocino-k8s
      @tocino-k8s 18 วันที่ผ่านมา

      same lolol

  • @munyaosfam5840
    @munyaosfam5840 2 วันที่ผ่านมา

    This looks like the slap battles bind maze ghost

  • @TheWiceMice
    @TheWiceMice 5 หลายเดือนก่อน +4

    How is it annoying roblox literally has a service meant for path finding

    • @CritDEV
      @CritDEV  5 หลายเดือนก่อน +1

      boilerplate code.

    • @TackyToons
      @TackyToons 4 หลายเดือนก่อน +1

      True but it’s way too simple, like you could use it for 2 hours and already know everything about it. Suuuuper low potential/use cases

    • @CritDEV
      @CritDEV  4 หลายเดือนก่อน

      @@TackyToons some people just want to test/have a simple pathfinding AI. And for most games, this is fine and avoids ai getting stuck behind walls

    • @heavygaming6596
      @heavygaming6596 หลายเดือนก่อน

      Because it only generates points. It doesn't handle any logic of how to move.

  • @persona8614
    @persona8614 ปีที่แล้ว +7

    thanks dude

  • @Smurfis
    @Smurfis ปีที่แล้ว +7

    Thanks, anyone reviewed this?

    • @CritDEV
      @CritDEV  ปีที่แล้ว +4

      No, and I’d rather at this point recommend receiving the regular code or looking at a tutorial on how it works. The API works if you wish to use it but please keep that in mind.

    • @Soyoulikevr2
      @Soyoulikevr2 ปีที่แล้ว

      I does not work

  • @xyent9497
    @xyent9497 6 วันที่ผ่านมา

    It’s because most of them are dumb ❤️‍🔥😭 just run a ray to see if the players are in sight and if they are, you move the npc, if not you pathfind

    • @CritDEV
      @CritDEV  6 วันที่ผ่านมา

      @@xyent9497 that’s the general gist of it!

  • @juhmop
    @juhmop 7 หลายเดือนก่อน

    great job it doesnt constantly do it and it keeps breaking for no god damn reason

  • @tog121
    @tog121 หลายเดือนก่อน

    nothing better than simplepath❗❗🗣️🗣️🗣️

  • @JezzyCrazyTV
    @JezzyCrazyTV 7 หลายเดือนก่อน +7

    Scary

  • @Argo57
    @Argo57 9 หลายเดือนก่อน +1

    I thought it was a deepwoken Pathfinder video 💀

    • @danielzaragoza3036
      @danielzaragoza3036 9 หลายเดือนก่อน

      This one insanity has already crumble

  • @NihisRblx
    @NihisRblx 3 หลายเดือนก่อน

    Meanwhile minitoon making piggy pathfinding in 5 days

  • @purpledragonuntitled
    @purpledragonuntitled 2 หลายเดือนก่อน

    I did it, it was so so so i even completed a huge maze and it found its way out

  • @jiro5615
    @jiro5615 10 วันที่ผ่านมา

    Easier path finding code "print: "you're being followed"

  • @puremuskratt
    @puremuskratt 2 หลายเดือนก่อน

    does it have an adjustable range on how far it detects players?

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      Yes in the config there is detection range

  • @SolidFish23
    @SolidFish23 7 วันที่ผ่านมา

    PATHFIND LIKE PATHFINDERS IN DEEPWOKEN?!

  • @Melih_ALEMDAR2674
    @Melih_ALEMDAR2674 หลายเดือนก่อน +1

    GUYS ITS NOT ONE LINE

    • @CritDEV
      @CritDEV  หลายเดือนก่อน

      @@Melih_ALEMDAR2674 it’s one line ?
      in my example I did good code practice, where it was stored as a variable (the require portion), so it can be one line.

    • @Melih_ALEMDAR2674
      @Melih_ALEMDAR2674 หลายเดือนก่อน

      @@CritDEV Sorry for misunderstanding, this is a joke here, i've meant that there are other long scripts and modules in the model. Other than that the script is actually impressive and even im planning to actually use it myself.

  • @FelipeGames08
    @FelipeGames08 2 หลายเดือนก่อน

    I got jumpscared by the dummy💀

  • @A_random_animator-c2x
    @A_random_animator-c2x 14 วันที่ผ่านมา

    One line of code? What is this sorcery!?

  • @Undertale_Something_New
    @Undertale_Something_New หลายเดือนก่อน

    İm on one who read it like "how pathetic"?

  • @BIASXED
    @BIASXED 2 หลายเดือนก่อน

    By the way you can make a pathfind script in around 5 lines of code… so idrk why you’re giving this idea that its difficult

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      because you can't :), especially with built features such as asynchronous tracking.

  • @Soyoulikevr2
    @Soyoulikevr2 ปีที่แล้ว +13

    Bruh mine does not path find

    • @Fayroll5
      @Fayroll5 11 หลายเดือนก่อน

      ​@@messengercreator ai should stop taking human jobs. Im a roblox dev and ai at the end of the day can't help

    • @Fayroll5
      @Fayroll5 11 หลายเดือนก่อน

      @@messengercreator for who? Never seen anyone use it

    • @Fayroll5
      @Fayroll5 11 หลายเดือนก่อน

      @@messengercreator ur the only one who uses it and I've used it just now and it's trash it can't even make you die when u hit e im much better than a chatbot

    • @Fayroll5
      @Fayroll5 11 หลายเดือนก่อน

      @@messengercreator but for new people it's good but still they should learn

    • @Fayroll5
      @Fayroll5 11 หลายเดือนก่อน

      @@messengercreator dude wtf that doesn't even make sense. Learn ur grammer...

  • @Skillzlight838
    @Skillzlight838 10 หลายเดือนก่อน +1

    how do i change the character

    • @CritDEV
      @CritDEV  10 หลายเดือนก่อน

      change the variable for the character in the api call

  • @taeshawnpeterson2962
    @taeshawnpeterson2962 8 หลายเดือนก่อน

    Widawwy

  • @Classic_Tomfoolery
    @Classic_Tomfoolery 2 หลายเดือนก่อน

    Dude i can't even code functions 😭

    • @orangesel9338
      @orangesel9338 2 หลายเดือนก่อน

      just learn programming using python and move on to lua and roblox api

  • @losusx2967
    @losusx2967 10 หลายเดือนก่อน

    i still dont know how to use this tho

  • @Heaven-artist-i8z
    @Heaven-artist-i8z 10 วันที่ผ่านมา

    Bro made a tsb leak

  • @sadthechanbe1487
    @sadthechanbe1487 หลายเดือนก่อน

    I got so mad I got one from toolbox

  • @jace-k6f
    @jace-k6f 2 หลายเดือนก่อน

    whats pathfinding?

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      @@jace-k6f the system where an NPC avoids obstacles to reach a destination.

    • @jace-k6f
      @jace-k6f 2 หลายเดือนก่อน

      @@CritDEV ok thx

  • @cyberex5509
    @cyberex5509 9 หลายเดือนก่อน

    it takes me too long not two weeks

  • @jeremycastillo8705
    @jeremycastillo8705 2 หลายเดือนก่อน

    Me make path finding non existent

  • @idk-qm4db
    @idk-qm4db 3 หลายเดือนก่อน

    algorithm

  • @KennedyRodrigo
    @KennedyRodrigo 2 หลายเดือนก่อน

    my stupid ass fna just make a chase code for a zombie model add a gun tool a crappy mad and call it a day

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      i made a video for that. you can just copy the code and be done with it in 10 minutes !

  • @Frostbite-q3v
    @Frostbite-q3v 2 หลายเดือนก่อน

    I use raycasting

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      @@Frostbite-q3v the script uses ray casting to determine whether something is in line of sight.
      Nice though!

    • @Frostbite-q3v
      @Frostbite-q3v 2 หลายเดือนก่อน

      @@CritDEV Yea, I was just saying that I use it so that I can make models that can teleport next to you, it's very cool.

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      @@Frostbite-q3v nice !

  • @CloverKismet
    @CloverKismet ปีที่แล้ว +1

    #Truth

  • @YunAkuDzeWT
    @YunAkuDzeWT ปีที่แล้ว +1

    0:00

  • @MoHa-dv4fb
    @MoHa-dv4fb 8 หลายเดือนก่อน

    Algorithm

  • @seklerne
    @seklerne 7 หลายเดือนก่อน

    0:01

  • @anshpal1
    @anshpal1 ปีที่แล้ว +1

    Bhai kya aap

  • @riviostavre7867
    @riviostavre7867 11 วันที่ผ่านมา

    Tsb a laek 💀

  • @man.im.ded.
    @man.im.ded. 2 หลายเดือนก่อน

    🫸🔴🔵🫷🟣

  • @GruStar
    @GruStar หลายเดือนก่อน

    .

  • @northdown9977
    @northdown9977 14 วันที่ผ่านมา

    it ain't that hard bro

  • @BloxedZ3R0
    @BloxedZ3R0 6 หลายเดือนก่อน

    🫡

  • @Fuge_monster1
    @Fuge_monster1 2 หลายเดือนก่อน

    _bruh_

  • @sadge6430
    @sadge6430 9 หลายเดือนก่อน

    Jg8

  • @anshpal1
    @anshpal1 ปีที่แล้ว

    Ye channel

  • @BitBloxDevs
    @BitBloxDevs 2 หลายเดือนก่อน

    Jg

  • @anshpal1
    @anshpal1 ปีที่แล้ว

    Mujhe de skte ho?

    • @Ameya837
      @Ameya837 11 หลายเดือนก่อน

      translation for people who dont know hindi : Could you give me it?

    • @CritDEV
      @CritDEV  2 หลายเดือนก่อน

      google does not say that lol. Thank you for translating.

  • @CapybaritaYT
    @CapybaritaYT 13 วันที่ผ่านมา

    Use chat gpt