Roblox Enemy NPC Tutorial - Part 5

Поделиться
HTML-код
  • Опубликовано: 30 окт 2024

Комментарии • 32

  • @mrmodulescript
    @mrmodulescript  5 месяцев назад +4

    The Important links are in the description of the video. I did a little less editing than I normally do. Just to ensure the video got out (my last attempts I either lost the file or the video got corrupted)
    Usually I cut out mistakes I make to make myself look like a genius, but this time you get to see the real me when making tutorials.
    I hope you enjoy!

  • @the-satire
    @the-satire 5 месяцев назад +8

    YOU DID IT YEAAAA

  • @asimple_thing
    @asimple_thing 4 месяца назад +2

    I was searching for a tutorial on this and this tutorial was so helpful!

  • @tiendrip-han6458
    @tiendrip-han6458 4 месяца назад

    W series man.
    If you can, it would be rad to make different targets for the npc.
    (Dummy attacks Dummy or Attacks Players on Different Teams).

  • @the-satire
    @the-satire 5 месяцев назад +6

    FIRST
    LETS GOOOOO

  • @SickEXP
    @SickEXP 4 месяца назад +1

    for some reasons, when the enemy attacks the ide animation doesnt stop and it mixes both of them making the animation weird

  • @Beij1ngCorn
    @Beij1ngCorn 5 месяцев назад +3

    W

  • @Wave3X-h8h
    @Wave3X-h8h 4 месяца назад +1

    I wanted to see if there is a way to increase how many studs the npc can scan for a player

  • @watchyogdofyevu9355
    @watchyogdofyevu9355 Месяц назад

    Could you use get decendents to find different humanoids/npcs in folders I was making a summon tool and parented the summon into a folder. When I made my average attack npc it didnt attack them, the follow script i use finds the nearest humanoid in the workspace. Still a little bit confused with getdecendents. But anyways thanks for the tutorial i really needed this

  • @Ythan-SIM
    @Ythan-SIM 4 месяца назад +1

    Hey can you make a neural network about a npc that slowly learns it's surroundings with laser sensors and tries to get to a checkpoint but every attempt the npc restarts? It would be nice if u do it!

  • @the-satire
    @the-satire 5 месяцев назад +3

    yo I found a lil' problem in my NPC, for some reason it's motion would sort of "freeze" and stop moving towards me when it was chasing, making it look a little weird, do you have a reason why? I can provide more info if need

    • @mrmodulescript
      @mrmodulescript  5 месяцев назад +1

      Make sure that you set the network ownership of the NPC's model's primary part to the server. To do that, call the :SetNetworkOwner(nil) function on the primary part (which should be the humanoidRootPart), and pass nil as the parameter. If the ownership is already set or it doesn't fix the issue, then I would have to look at your code more.

    • @skoobyzz
      @skoobyzz 3 месяца назад

      @@mrmodulescript for me it seems to do the same and the ownership is already set to to the network, and i reviewed the code to yours and everything seems to be the same, but idk if its because my rig is r6 or not

  • @grimmsnonsensechannel3565
    @grimmsnonsensechannel3565 14 дней назад

    I found a bug that if you set the NPC speed to more than 20, as player run circle around it, the NPC will either jitter or completely stop.
    How can i fix that ?

  • @WeBeated
    @WeBeated 5 месяцев назад +4

    yo mrmodule script, can you continue the Coding Viewer's Ideas In Roblox Studio series? it was fun

    • @mrmodulescript
      @mrmodulescript  5 месяцев назад +2

      I was planning on doing one this Saturday actually! Stay tuned for that :)

    • @WeBeated
      @WeBeated 5 месяцев назад +2

      alright! I hope you still remember me.

    • @mrmodulescript
      @mrmodulescript  5 месяцев назад +1

      @@WeBeated I sure do! Those streams were fun for me as well!

    • @WeBeated
      @WeBeated 5 месяцев назад

      @@mrmodulescript i hope to see you continue the series soon

  • @dumberyetdumber
    @dumberyetdumber 2 месяца назад

    why does the enemy break when it has a fast walkspeed, i dont know how to quite explain it but it slows down and looks at the right or left side while twitching

  • @jomelynalejo1194
    @jomelynalejo1194 5 месяцев назад +1

    This problem started since part 3. The idle and attack animation work, but the walking animation doesn't. The dummy just moves while doing the idle animation. Can you please fix this?

    • @skoobyzz
      @skoobyzz 3 месяца назад

      is the walking animation's animation priority set to movement?

    • @jomelynalejo1194
      @jomelynalejo1194 3 месяца назад

      @@skoobyzz Oh, I forgot about this comment. I already fixed it. It turns out that the animation ID I put has an empty animation

  • @sug0ku_Kam1ro11
    @sug0ku_Kam1ro11 5 месяцев назад

    I have a problem with the NPC is like Glashen or something when i pass the waypoints

  • @goptgod7
    @goptgod7 3 месяца назад

    is it possible to make the NPC move back to its original spot if no players are in range?

  • @yimengguo343
    @yimengguo343 Месяц назад

    what if there are many players within target distance?

  • @skoobyzz
    @skoobyzz 3 месяца назад

    i keep having an issue with the movement for my npc, and it could be the fact that its a r6 rig but still it keeps stuttering as it walks back n forth, I would appreciate some help for it if possible

  • @-stars.and.raindrops-
    @-stars.and.raindrops- 2 месяца назад

    I keep getting an error saying “Argument 2 missing or nil” what do I do and I rewrote the part of my script! Help!

  • @HenryMystery.
    @HenryMystery. 2 месяца назад

    for some reason the enemy twitches?

  • @yimengguo343
    @yimengguo343 День назад

    hi