AI Monster Pathfinding -Teddy Horror Game #2

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

ความคิดเห็น • 1.4K

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

    Usually coding tutorials teach like you already know what you're doing but you explain everything so even some random guy without much coding experience could easily learn and make their own games. Keep up the good work!

    • @drkrok9399
      @drkrok9399 ปีที่แล้ว +3

      that random guy is me so I can agree what you are saying, he explain everything it's very helpfull :D

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

      its not a toturial

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

      @@BLilJol it is lol

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

      @@odasiam6342 sure whatever

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

      @@BLilJol yes it is did you watch it

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

    This is really cool Thx for making these tutorials

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

      Awesome!, glad you found it useful, that's what it's all about

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

      @@GnomeCode this game will be out soon?

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

      @@GnomeCodenice

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

      @@XoraOff a game takes really long so it may come out. VARY latter on

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

      @@GnomeCode hi i am on u side not alvin blox u better than him keep the work my good guy!

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

    Dont worry I feel your pain

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

    13:27 *And then we'll get the children.*

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

    13:26 “get the children” Now thats a bit odd.. I know how coding works and know what it means it was just a joke.

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

      um its weird

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

      You not getting the children?

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

      Joelisawesome10000 wat does it mean bro?!?!?!?!?!?!?!??!?!??!?!?!?!?

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

      Uhhhhhh

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

      karen give me the kids back

  • @bonk-dog
    @bonk-dog 4 ปีที่แล้ว +67

    *At the start*
    Gnome: your guy should move
    My guy: *yeah alright, NOPE!*

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

      Red Sleepy 🐨

    • @bonk-dog
      @bonk-dog 4 ปีที่แล้ว +2

      @@shannonmay4687 XD

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

      @@shannonmay4687 XD

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

      @@shannonmay4687XD

    • @gidgetpettibon1263
      @gidgetpettibon1263 4 ปีที่แล้ว

      Well now I am not doing it

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

    Before I found this channel , I couldn't find any good tutorials. But, your tutorials are really easy to understand!
    Thanks Gnome!
    And congrats on a 1000 subs!!!

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

      Great to hear! Cheers

    • @shannonmay4687
      @shannonmay4687 4 ปีที่แล้ว

      Pin mah comments plz I love you I’m big fan!

    • @shannonmay4687
      @shannonmay4687 4 ปีที่แล้ว

      GnomeCode HAI I LOVE YOU

  • @queezy2
    @queezy2 3 ปีที่แล้ว +12

    This teddy tutorial is amazing. Iv'e learned a lot for this single video alone, I only used to know variables, while true do loops, a wait timer and changing colors, materiels, and transperency.

    • @Mr-Sleet
      @Mr-Sleet 2 ปีที่แล้ว +1

      wait(10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)

  • @judsonf1824
    @judsonf1824 3 ปีที่แล้ว +57

    *This man teaches us how to make a great AI in 17 minutes.*

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

    I love how its a devlog, but he also teaches how to make it! Thank you GnomeCode!!!

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

    13:26
    WAIT WHY DO WE HAVE TO GET THE CHILDREN
    *_we already got their parents though boss.._*

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

      Oml your profile is the gacha teddy bear

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

    Congrats, with 1k!
    I am so happy for you,
    I hope you get big on TH-cam! :)

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

    13:26: " Get children"
    *faint sounds of it's been so long in the background-

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

      iT’s BeEN sO LoNG

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

      The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind The man behind the slaughter

    • @cricket4517
      @cricket4517 4 ปีที่แล้ว

      Alien Creature what the

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

      EmmaGirlygamer Rose THE MAN BEHIND THE MAN

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

      I don't know what I was thinking
      Leaving my child behind
      Now I suffer the curse
      Knowing now I am blind
      With all this anger, guilt and sadness
      Coming to haunt me forever
      I can't wait for the cliff at the end of the river
      Is this revenge I am seeking
      Or seeking someone to avenge me
      Stuck in my own paradox
      I wanna set myself free
      Maybe I should chase and find
      Before they'll try to stop it
      It won't be long before I'll become a puppet
      It's been so long
      Since I last have seen my son
      Lost to this monster
      To the man behind the slaughter
      Since you've been gone
      I've been singing this stupid song
      So I could ponder
      The sanity of your mother
      I wish I lived in the present
      With the gift of my past mistakes
      But the future keeps luring in like a pack of snakes
      Your sweet little…

  • @andrejradicevic1411
    @andrejradicevic1411 2 ปีที่แล้ว +2

    Hi! so my AI wasn't working on the end.. so i did the whole video again! And it worked! Tysm!

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

    Educational and straight to the point, Good content, although you do have a long intro, It's actually fun to watch.

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

    ONE YEAR OF EPISODE 2 OF TEDDY! HAPY ANNIVERSARY 🎉🎉🎂🎊🎊🎊🎊🎊🎊🥳🥳🥳🥳

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

    So exited to play this!

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

    I finally found this dude after ages and this is helping me make my own piggy fanmade game

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

    Now that my good sir is some advanced stuff

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

    it took me four hours, rewatching both videos repeatedly, crying and frustration, to figure out that the d in Destination was the reason that my dude was spinning in circles instead of walking... always check capitalization and make sure it's the same for anyone who's having the same problem. Sometimes it's the simplest mistakes.
    But it's working now yeeeee! Thankyouuu♥

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

    Teddy's back story: your mom and dad and you decided to buy a giant teddy bear at an antique shop, little did your family know, it was haunted and a curse broke over your parents so they never sell it, and you live the rest of your life as a baby trying to seek help.

    • @tusheyy6033
      @tusheyy6033 3 ปีที่แล้ว

      hello this is a comment you made 1 year ago, what are your thoughts about this?

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

      @@tusheyy6033 HELLO THIS COMENT IS 2 YEARS AGO AND IN 2 MONTHS 3 YEARS WHAT YOU T
      HINK BOUT THIS

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

      @@laksjsjshaiansjsllll WELL I FIND IT SURPSING THAT COMMENT IS ALMOST 3 YEARS OLD, TIME IS SO FAST AND IM NOT SURE IF TEDDY IS STILL RELEVANT WOW

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

      ​@@tusheyy6033
      _HELLO! THIS COMMENT IS 1 YEAR AGO, WHAT ARE YOUR THOUGHT ON THIS_

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

      @@BillyCheezeman 2HAT THE FLOP, HELLO BTW, MY THOUGHTS LITERALLY REMAIN THE SAME AS MY LAST COMMENT

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

    This gave me PTSD from the tower defense game series. THE ZOMBIES DID NOT MOVE! AND DID NOT SPAWN!

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

    you know what you should do? you should make him walk slowly when he does not see a person and when he does he will run
    and also shift could be to run and ctrl to crawl those were the controls!

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

      I like that idea, and yes I'll be adding ctrl to crawl at some point

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

      @@GnomeCode thanks never thought you would respond to me!:)

    • @makotonaegi444
      @makotonaegi444 4 ปีที่แล้ว

      @@GnomeCode Will you upload it?

    • @makotonaegi444
      @makotonaegi444 4 ปีที่แล้ว

      @@SilentioSR7O wait shift isn't Sprint? Shift is crouch

    • @daffy2261
      @daffy2261 3 ปีที่แล้ว

      @@makotonaegi444 nope.

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

    Whenever I’m looking on how to make a pathfinder AI in Roblox, I always come to this channel first

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

    Alvinblox steal your content and it's rlly bad.
    Congratulations for having 1000 subscriber I will be here until you get 1M subscriber 😍😍😍

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

      AnRo Vlogs I dont think he intended to steal it.

    • @anrovlogs2834
      @anrovlogs2834 4 ปีที่แล้ว

      @@clevertango88 I know it everyone allowe to make like that content it's just how i explain it

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

      So ur saying u will leave at 1m lol

    • @anrovlogs2834
      @anrovlogs2834 4 ปีที่แล้ว

      @@ethyn lol wahahaha

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

      AnRo Vlogs ikr Alvin blox is a showoff noob who spends all his time explaining and clicking really fast so people think he is good >:(

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

    Have I been living under a rock? How did I not discover this channel?? How!!

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

    " And then we will get the children." -GnomeCode 2020

  • @snoanashi1597
    @snoanashi1597 2 ปีที่แล้ว

    my pathfinding ai was literally BS until i found your video, helped a lot. thanks dude!

  • @zombieturtle4005
    @zombieturtle4005 3 ปีที่แล้ว +5

    Me watching the first time: Bleh boring coding stuff.
    Me rewatching it: This is all so helpful. *intense taking notes*

    • @EggKing_Official
      @EggKing_Official 3 ปีที่แล้ว +2

      Same lol

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

      i got an idea for an original game ,not teddy ,not granny , not piggy ,but William

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

    YOUR VOICE IS SO FREAKING RELAXINGGGG

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

    dude. thank you so much. so helpful. because of you I can make my dream game. I'll send you the link to my game when its finished.

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

    You should totally upload this on roblox after you are done! Imagine if Teddy becomes the next Piggy. 🤣😂

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

      Yes do it

    • @torathegamer6325
      @torathegamer6325 4 ปีที่แล้ว

      I Don’t Think It Will Because Piggy Was The Original

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

      @@torathegamer6325 The thing is piggy was never original it was inspired by granny but with a much better story

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

      harshalahari and cocoa also

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

      @@ayofireball1 piggy is more first than cocoa

  • @t-am-yu5579
    @t-am-yu5579 4 ปีที่แล้ว

    Omg 0.0 This is honestly the best tutorial or episode thing on Roblox EVER :D

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

    Hello everyone good news Happ 1k subscriber
    Teddy!!!

  • @SUPMAX14
    @SUPMAX14 2 ปีที่แล้ว

    I know this Video is 2 years old but ist works for my monster .thank you Gnome Code!!

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

    The game story:chapter 1,your a kid that has a haunted teddy that you didn’t know about then you bought your teddy to school then saw it kill someone then you hide in a room the game begins you saying “i gotta get out of here” like the beginning of Piggy Chapter 1. Chapter 2, you escape into your house and shouted for your mom noone replied then you started looking for her and you heard her screaming at the kitchen and you saw your teddy covered in blood and your mom lying in the kitchen floor then you said “why whould teddy do this..” the game begins. Chapter 3 you wanted to go to the police but you were surrounded by the teddys they ran after you into a forest and you said “i need to get my old teddy back” the game begins.chapter 4, you escaped into a weird campsite nearby the police station you saw something in the bushes you were scared and didn’t know what that thing is then it jumped out the bush and you saw a innocent teddy the teddy said “it’s not safe here let’s get to the police station nearby the game begins. Chapter 5,you and teddy escaped into the station and you said “is anybody here?!” The game begins. Chapter 6. You and teddy escape to a warehouse nearby and you said to teddy “is it safe here?” Teddy replied “this is a tiny safe place but those monsters are gonna get in” the game begins. Chapter 7, you and teddy were surrounded and nowhere to go exept the airport you and teddy rushed into the airport and teddy said “we should get out of here before we die” the game begins. Chapter 8, the other haunted teddys knew where you and teddy were you guys rushed into the library to hopefully be safe for now but all the other teddys chased after you and the innocent teddy the game begins. Chapter 9, you escape into a train station and the train wasn’t working you let teddy have some rest while you got to get all the stuff to get the train working the game begins. Chapter 10, you’re all alone because teddy said “i don’t feel too well here have a map to find where the safe place is you can escape through the helicopter there, good luck” then you said “teddy I’ll get you back, i promise” the game begins.

  • @pkstudios744
    @pkstudios744 3 ปีที่แล้ว

    You don't know how much this has helped me

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

    2:09 don’t mind me just setting my stamp for when I come back

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

    "The NPC isn't going to be doing any chatting."
    Famous last words.

  • @termisher5676
    @termisher5676 2 ปีที่แล้ว +6

    to make most dump pathfinding you can simply make grid of points on map and make sure that ai can travel from each to other one without bumping into walls and it will calculate what path is shortest to the player. once there is nothing to bump into and player is nearby it can just go straight at him and if it bumps wall then resume pathfinding.

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

      Or you can make it a crappy survival the killer murderer npc but if it stops movement it checks if there is a solid object blocking its way and if there is then it should go to the nearbiest point then resume attacking, but if there is no solid object but it's still in one place then it will despawn the character/or make it unstuck.

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

    my guy knows what he’s doing me like wtf do all those buttons do

  • @Trollmonster3
    @Trollmonster3 ปีที่แล้ว +3

    Code for this episode:
    local monster = script.Parent
    local humanoid = monster.Humanoid
    local PathfindingService = game:GetService("PathfindingService")
    local function getPath(destination)
    local pathParams = {
    ["AgentHeight"] = 10.214,
    ["AgentRadius"] = 0.714,
    ["AgentCanJump"] = true
    }
    local path = PathfindingService:CreatePath(pathParams)

    path:ComputeAsync(monster.HumanoidRootPart.Position, destination.Position)

    return path
    end
    local function walkTo(destination)
    local path = getPath(destination)

    for index, waypoint in pairs(path:GetWaypoints()) do
    humanoid:MoveTo(waypoint.Position)
    humanoid.MoveToFinished:Wait()
    end
    end
    local function patrol()
    local waypoints = game.Workspace.waypoints:GetChildren()
    local randonNum = math.random(1, #waypoints)
    walkTo(waypoints[randonNum])
    end
    while wait(0.1) do
    patrol()
    end
    Hope this helps and makes it so you wont be crying when there's an error!

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

      i used ur script but doesnt work, theres no errors but my npc wont walk, he just goes in idle mode and not walk mode

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

      @@RaanuAli47 Did you add waypoints/Anchor them?

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

    This is so good your so good at building !!

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

    Tip: Don't put long vents

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

      noobs: you cant get me
      me: yeah but your going to run out of time

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

      I got an idea a stuffed rabbit that has been torn apart will crawl in the vents

    • @achannel77373
      @achannel77373 4 ปีที่แล้ว

      Bunny Boy RBLX ohno

    • @Almondzyyx
      @Almondzyyx 4 ปีที่แล้ว

      @@mikushatsune **mousy intensifies**

    • @skintubby5566
      @skintubby5566 4 ปีที่แล้ว

      @@mikushatsune just like mousy in piggy

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

    Good job on 1k!

  • @sournois90
    @sournois90 3 ปีที่แล้ว +3

    dude im still waiting for you to get the children.

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

    teddy is MUCH better than granny and piggy good job man ^_^

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

    I’m a gnome and you’ve been GNOMED!!!

  • @Diegomoji22
    @Diegomoji22 3 ปีที่แล้ว

    This actually really better than other piggy games a close second my opinion

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

    This is amazing!

    • @GnomeCode
      @GnomeCode  4 ปีที่แล้ว

      Thanks for the good vibes!

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

    why is it so interesting to watch someone script even though you can't understand them?

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

    For part 1 i cant figure out when you are renaming the parts when my piggy rig does not have those parts like right shoulder because my one is R6? it has the same output as yours btw

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

      Right Shoulder is actually just the name of the joint. So you should still name it Right Shoulder even if it's just connecting a 'Torso' to a 'Right arm' if that makes sense.

    • @makotonaegi444
      @makotonaegi444 4 ปีที่แล้ว

      By the way, I hope your game goes viral if your making one!

  • @Marty-197kp1
    @Marty-197kp1 หลายเดือนก่อน +1

    thank you so much you basiclly made my game

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

    Double the parts, fun right?
    Later: x7 the parts, fun right?

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

      Double the fun, more like septuple the fun?

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

      Add the fun
      Subtract the boring

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

    YAY YOUR BACK in making a piggy game!

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

    I’m thinking of making a piggy game called “Dino”

    • @-lucy-108
      @-lucy-108 4 ปีที่แล้ว

      Go for it!:D

    • @potato_plushies1915
      @potato_plushies1915 4 ปีที่แล้ว

      I will play
      I am also making one called coyote

    • @matthewwestling1674
      @matthewwestling1674 4 ปีที่แล้ว

      I will make one called: Edd! (hopefully GnomeCode can help me make this game) Edd is an evil gun wielding eagle! get past him and his possessed bird friends! the chapters are "stories." there will be six. Then I will add a sequel to Edd called: Edd: The Apocalypse

    • @plexatron1535
      @plexatron1535 4 ปีที่แล้ว

      im also working on a game. Good Luck!

    • @Mighty180681
      @Mighty180681 4 ปีที่แล้ว

      im making one called chicken nugget

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

    Congrats, with 1k!

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

    YAY TEDDY

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

    Me: *whispers a script* local ----- ----- -- ------ GetChildren
    Mum: WHO'S CHILDREN YOU KIDNAPPER

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

    How funny would that be if someone did a scripting tutorial but then he was just telling you how to make a virus lol

  • @NavaNoidGMD
    @NavaNoidGMD 3 ปีที่แล้ว

    bro, its been a year since you uploaded this but I am still watching this lol, I like how your scripts still work!

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

    I made a character but it did not let me move plz help I’m early btw

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

      Hey, did you create the welds for the character like I showed in the last vid?

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

      GnomeCode yes

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

      You prob anchored the parts LMFAO

    • @MrBristaLeg
      @MrBristaLeg 4 ปีที่แล้ว

      NOOBPLAYER I didn’t

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

      @@MrBristaLeg try un-anchoring the HumanoidRootPart

  • @sigmasupremo298
    @sigmasupremo298 2 ปีที่แล้ว +3

    local tedy = script.Parent
    local humanoid = teddy.Humanoid
    while true do
    Humanoid:MoveTo(workspace.part.Position
    Humanoid:MoveToFinished:Wait()
    Humanoid:MoveTo(workspace.part2.Position
    Humanoid.MoveToFinished:Wait()
    end

  • @visth
    @visth 3 ปีที่แล้ว

    Took me 3 attempts, but- it worked! Tysm.

  • @thankaplum9034
    @thankaplum9034 3 ปีที่แล้ว +90

    COPY PASTE CODE --> You will need to fill in the Character Name sections with the name of the character in the workspace.
    You will need to adjust the radius and height.
    You will need to make a waypoints folder with the destination parts inside of it.
    local CHARACTER NAME = script.Parent
    local humanoid = CHARACTER NAME.Humanoid
    CHARACTER NAME.PrimaryPart:SetNetworkOwner(nil)
    local PathfindingService = game:GetService("PathfindingService")
    local function getPath(destination)
    local pathParams = {
    ["AgentHeight"] = 20,
    ["AgentRadius"] = 5.5,
    ["AgentCanJump"] = false
    }
    local path = PathfindingService:CreatePath(pathParams)

    path:ComputeAsync(CHARACTER NAME.HumanoidRootPart.Position, destination.Position)
    return path
    end
    local function walkTo(destination)
    local path = getPath(destination)
    for index, waypoint in pairs(path:GetWaypoints()) do
    humanoid:MoveTo(waypoint.Position)
    humanoid.MoveToFinished:Wait()
    end
    end
    local function Patrol()
    local waypoints = workspace.waypoints:GetChildren()
    local randomNum = math.random (1, #waypoints)
    walkTo(waypoints[randomNum])
    end
    while wait(0) do
    Patrol()
    end

    • @puruzmeep324
      @puruzmeep324 2 ปีที่แล้ว +3

      honorable hero

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

      The PrimaryPart script, doesn't seem to work... any tips?

    • @rootboyfloat
      @rootboyfloat 2 ปีที่แล้ว +2

      it brokey pls fix

    • @RECHARGED77
      @RECHARGED77 2 ปีที่แล้ว

      @@chalkstone does

    • @jakeyprozplayer
      @jakeyprozplayer 2 ปีที่แล้ว

      @@chalkstone lmao i just found you fighting with someone and now your playing on "little kid studio"?

  • @block_in_animating
    @block_in_animating 3 ปีที่แล้ว

    You really help me out with game making, I never knew you were such a good builder, good scripter, you need to teach me some of that skill.

  • @Someone-vn9ce
    @Someone-vn9ce 3 ปีที่แล้ว +4

    Gnome Code I have a question for you about Path Finding. First, thank you so much for your videos, they have taught me a lot. My question, I am working on a game, and sometimes my pathfinding works on the NPC and sometimes it freezes and I get the error, "waypoints not safe to call in Parallel." I know Roblox has Parallel as a beta feature in Studio. I have no idea how to turn that off, or if it affects the game when live or if I have to desynchronize the Path Finding. Any help is so appreciated, I am in over my head on this...

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

      just ask chatgpt LOL

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

    Omg thx dir Help this Video ist what i need for my Game really thx best TH-camr ever

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

    "gnomecode is going to be useless"
    Alvinblox's piggy pack is garbage imo

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

      Yea Alvinblox uses a piggy model while gnomecode MADE a piggy

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

      It's so bad. So many people use the model without learning anything because it's free. The game isn't even creative. Like what kind of thing is BLUE HOUSE and GREEN HOUSE?????? AND ULTRA MODE IS JUST ADDED ZOMBIES THAT ALVIN DIDN'T EVEN BOTHER TO CODE TO OPEN DOORS

  • @scottmilky1538
    @scottmilky1538 4 ปีที่แล้ว

    You deserve alot more, your editing is really good and your super underrated!

  • @tahaazad2387
    @tahaazad2387 3 ปีที่แล้ว +3

    bruh mine doesnt even move :/

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

    Gnomecode thanks for this Tutorial I’m making a game named foxxy this really helped me

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

    It doesn't work my character isn't moving please help. I typed in the script, Do I have to use A local script??? Pls help???

    • @ijustdontknow970
      @ijustdontknow970 4 ปีที่แล้ว

      its a error, dont know how to fix it m8, go to the discord and ask someone, i think thats how it works....

  • @ZxRo750
    @ZxRo750 3 ปีที่แล้ว

    Me: tries to build a piggy skin test
    GnomeCode: Builds a game with crazy commands
    Me: fails
    GnomeCode: game works out perfectly

  • @999sophiaa
    @999sophiaa 4 ปีที่แล้ว +3

    omg i never realized but you pronounce "r" as "w" LOL

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

      RO_SE YT so?

    • @999sophiaa
      @999sophiaa 4 ปีที่แล้ว

      @@princesskhaleda i was just saying. i personally think it's cool!

    • @collinscoolness8072
      @collinscoolness8072 4 ปีที่แล้ว

      @@princesskhaleda roses are also yellow

    • @fardtist
      @fardtist 4 ปีที่แล้ว

      bruh are you dumb roses are purple

  • @narrow3601
    @narrow3601 3 ปีที่แล้ว +2

    Me: so tired from the day and then having to write the script just to realize it for somereason doesn't work.
    Also Me: Reality Is Often Dissappointing

  • @jonathanc8734
    @jonathanc8734 2 ปีที่แล้ว +6

    In the ComputerAsync function, your second parameter should just be "destination", not "destination.Position". Destination is already a Vector3.

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

      thank you, i had an error in that line!

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

    Don't know why but you remind me of this youtuber called TechnoBlade who dosen't give up, Good Job!

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

    what about me. lol

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

      Hahaha I don't really claim any credit, it's hardly an original concept. Nice videos dude!

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

      @@GnomeCode Thanks! lol

    • @AbeTGT
      @AbeTGT 3 ปีที่แล้ว

      the tommy himself. lol

  • @Inkbower
    @Inkbower 4 ปีที่แล้ว

    When you were making the monster in the first video and it first looked like the reddit thing that gave me the idea to make it

    • @GnomeCode
      @GnomeCode  4 ปีที่แล้ว

      Haha, that would be so cool

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

    10:58
    How wide is he?
    Me: How fat is it?

    • @Just_A_Rando29
      @Just_A_Rando29 4 ปีที่แล้ว

      Howdy cleetus

    • @AbsnormalCoolest
      @AbsnormalCoolest 4 ปีที่แล้ว

      Flamingo fan Cleetus isn’t fat, he’s PREGNANT.

    • @AbsnormalCoolest
      @AbsnormalCoolest 4 ปีที่แล้ว

      Tina Desmond no he is the ultimate form of pregnant
      *P R E G A N A N A N T*

    • @AbsnormalCoolest
      @AbsnormalCoolest 4 ปีที่แล้ว

      Jermjerm Byboi hehe pregananant

    • @AbsnormalCoolest
      @AbsnormalCoolest 4 ปีที่แล้ว

      Tina Desmond pregananant

  • @orangeblaster8255
    @orangeblaster8255 3 ปีที่แล้ว

    I just started watching this series and im loving it

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

    Me watching this confused as hell: 👁👄👁

  • @wethebest-obamiumcore1457
    @wethebest-obamiumcore1457 2 ปีที่แล้ว +1

    It WORKS!!! Thank you so much!!!!

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

    First

  • @thealmightycatgod8692
    @thealmightycatgod8692 3 ปีที่แล้ว

    Love ya bro thanks for all your help!

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

    Pin This for no reason.

    • @magma5267
      @magma5267 4 ปีที่แล้ว

      no.

    • @ysn078
      @ysn078 4 ปีที่แล้ว

      welp i guess you failed

    • @datnoob9095
      @datnoob9095 4 ปีที่แล้ว

      Sadness noise :(

    • @iamnabha9468
      @iamnabha9468 4 ปีที่แล้ว

      *no*

  • @baseball_8610
    @baseball_8610 3 ปีที่แล้ว

    bro gg to you
    this still works in 2021
    you're a real pro

  • @sam8687
    @sam8687 2 ปีที่แล้ว +2

    this video is even better from all the tutorial on youtube but IT ISNT EVEN A TUTORIAL LOL

  • @sugarcookie5115
    @sugarcookie5115 4 ปีที่แล้ว

    I don’t like people who copy PIGGY but he is explaining how to so I love this!

  • @xzSeer
    @xzSeer 4 ปีที่แล้ว

    Your working really hard for this! Keep it up!

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

    Well done Gnome!

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

    Piggy wasn’t the first to make that Genre! Teddy isn’t a copy, it was just Inspired! *AAAAAAAA*

  • @keqiyus
    @keqiyus 4 ปีที่แล้ว

    When this game is done. I CANNOT WAIT TO PLAYYYYY well... after all the testing and other things to make sure the game is in good shape for people to actually play! :3

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

    I probably can't make this but it's fun to watch tho.

  • @Mi1lo2-z5c
    @Mi1lo2-z5c 8 หลายเดือนก่อน

    This has taught me a lot of stuff for coding. Thanks for preparing me! (I subbed BTW)

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

    I love this playlist I subed hope you all had a great day

  • @im_talking_cat
    @im_talking_cat 2 ปีที่แล้ว

    No offense to Alvin and I know he's good at what he does, but I have no finished game made with Alvin.
    I have a finished platformer game with you and on top of that, you explained it so well that I was able to improvise and build on top of it.

  • @TaborianMarksman
    @TaborianMarksman 4 ปีที่แล้ว

    I hope this channel gets to 1,000,000 subscribers!

  • @meowfacegame
    @meowfacegame 4 ปีที่แล้ว

    youre making the better piggy fangame kit tbh

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

      wheres the kit