Player Killing Monster AI - Teddy Horror Gamedev #3

  Рет қаралды 246,323

GnomeCode

GnomeCode

Күн бұрын

Пікірлер: 977
@s0r3nnn
@s0r3nnn 4 жыл бұрын
This guy is underrated. He deserves much, much, more.
@2bluetoons798
@2bluetoons798 4 жыл бұрын
BeeHive 107 agreed
@AriButWhosucksheclickbaitedme
@AriButWhosucksheclickbaitedme 4 жыл бұрын
TOTTALY AGREE
@frozz3638
@frozz3638 4 жыл бұрын
TRUUUEEE
@HDDStrider
@HDDStrider 4 жыл бұрын
Agreed
@andyprutica7978
@andyprutica7978 4 жыл бұрын
Totally agreed
@DilemmaByNelly
@DilemmaByNelly 4 жыл бұрын
This is the best channel to learn from because you put comedy in while doing your scripts! This’ll really help in the future!
@FeurFeurFeur
@FeurFeurFeur 4 жыл бұрын
Thanks for making this an episode and making it into a free model so that I can carry on making my 2D game, because I’m making a stealth-like game where you have to flee and hide instead of being the hero of the game and now since this part has come out I can start fully working on the enemy ai because I was quite flabbergasted when it came down to coding detection and the likes.
@GnomeCode
@GnomeCode 4 жыл бұрын
Yeah it can get quite complex, you're welcome. I hope your stealth game goes well!
@SLUUMPED
@SLUUMPED 4 жыл бұрын
whats ur game called?
@tommy6therockstarhogan244
@tommy6therockstarhogan244 4 жыл бұрын
tell us da name of da game
@devounpag1070
@devounpag1070 4 жыл бұрын
You should name it "The Hunter"
@grunkeTV
@grunkeTV 3 жыл бұрын
@@devounpag1070 thats a shit name
@reese1526
@reese1526 4 жыл бұрын
he deserves WAY MORE than what hes getting. hes spending a lot of time to do this for us.
@oreogaming6570
@oreogaming6570 2 жыл бұрын
Yeah
@Bluentomion
@Bluentomion 2 жыл бұрын
@@oreogaming6570 btw when he commented that he only had like 1k subs
@oreogaming6570
@oreogaming6570 2 жыл бұрын
@@Bluentomion still :)
@Bluentomion
@Bluentomion 2 жыл бұрын
@@oreogaming6570 of course
@sirmagnum7
@sirmagnum7 4 жыл бұрын
Can you make an episode that will do the finishing touches like death sounds other stuff
@courtesyofeden
@courtesyofeden 4 жыл бұрын
He will, he’s clearly not done yet.
@cy4nzzz
@cy4nzzz 4 жыл бұрын
E
@cy4nzzz
@cy4nzzz 4 жыл бұрын
Cinthooran Jeyanathan boi yes
@ac-js5fz
@ac-js5fz 4 жыл бұрын
@@cy4nzzz no
@Gambit120
@Gambit120 4 жыл бұрын
@@cy4nzzz Please dont jumpscare me
@_catulus
@_catulus Жыл бұрын
You have no idea how valuable the first two minutes of this video were to me. THANK YOU!!
@Philsosopher
@Philsosopher 4 жыл бұрын
Coool introo dudeee and also thank you so much for including the piggy in thr model. 🙏
@GnomeCode
@GnomeCode 4 жыл бұрын
You're welcome, thanks for watching!
@Raction01
@Raction01 4 жыл бұрын
@@GnomeCode hey question can you make a 2th game of this if it gets a lot of plays in the next months? Or 6 months
@Raction01
@Raction01 4 жыл бұрын
@@GnomeCode or
@Raction01
@Raction01 4 жыл бұрын
@@GnomeCode make a event
@cringeyzed
@cringeyzed 4 жыл бұрын
I'm starting to like you now! You make scripting look so easy, and you explain how they work in the easiest way to understand! I'm subscribing to you! :D I can't wait for the episode where you add choosing gamemode GUI! I'm ranking you as my first favorite scripter and below you is alvinblox, Hoping to see more good content!
@Xtorz
@Xtorz 4 жыл бұрын
Instead of instantly losing the target, I personally think it should pathfind for 2 or 3 seconds, and if it still can't see the player, only then does it continue patrolling again.
@sparlo3865
@sparlo3865 4 жыл бұрын
Yeah that is right
@dogerunner2007
@dogerunner2007 4 жыл бұрын
I agree
@Isaia2008
@Isaia2008 4 жыл бұрын
a g r e e
@eurielrabano5732
@eurielrabano5732 4 жыл бұрын
The fact that Teddy only follows characters when they are in its line of sight kind of adds a little more sense that Teddy is only an object, not much brain.
@realFROGMIRE
@realFROGMIRE 4 жыл бұрын
I hope that he will incorporate your idea because it seems that the ai will be easily tricked.
@user-gg6tw3fu9c
@user-gg6tw3fu9c 4 жыл бұрын
This guy deserves more than this he's a good guy show him some love wow so much likes and comments and legible shut up legible hating on a person you don't even know lol
@shortsaboutspeed
@shortsaboutspeed 4 жыл бұрын
you are right
@odasiam6899
@odasiam6899 4 жыл бұрын
william _ I agree
@owenpancake4234
@owenpancake4234 4 жыл бұрын
I agree to
@Max-ob2zu
@Max-ob2zu 4 жыл бұрын
I'm pretty sure we all agree (i agree)
@angrycommentman6601
@angrycommentman6601 4 жыл бұрын
*yes*
@RealKieron
@RealKieron 4 жыл бұрын
Just found your channel! Loving this series!
@GnomeCode
@GnomeCode 4 жыл бұрын
Welcome aboard!
@enchantedpanda5139
@enchantedpanda5139 4 жыл бұрын
You make scripting make more sense to me. I've watched other Roblox coders, but none of them explain the script as well as you do. Keep on doing what you do best! :D
@maxy3984
@maxy3984 4 жыл бұрын
I'm gnot a gnelf. I'm gnot a gnumbling. I'm a GnomeCode!
@alvinho7945
@alvinho7945 4 жыл бұрын
we've been gnomed since the start
@frazomaniav2973
@frazomaniav2973 4 жыл бұрын
I like how you are really straight to the point, You earned a sub
@crumbcrepe
@crumbcrepe 4 жыл бұрын
underrated, you teach us how to make games which take a lot of work while other people get popular for roleplaying
@crumbcrepe
@crumbcrepe 4 жыл бұрын
i thought u had near 1,000,000 subs :/
@drkrok9399
@drkrok9399 2 жыл бұрын
i've finished writing the script and trying to understand everything about it and it works very well! Thank you!
@deppy_logs
@deppy_logs 4 жыл бұрын
The Perfect Tutorials -Well explained -Underrated -Covers details -Very clear -Better than AlvinBlox
@mohsin2903
@mohsin2903 2 жыл бұрын
true!
@tooneysailor
@tooneysailor 3 жыл бұрын
you do not understand how underrated you are.. KEEP IT UP !❤
@wKadin
@wKadin 4 жыл бұрын
At first, you had my curiosity. Now, you have my attention.
@xavierplays6081
@xavierplays6081 4 жыл бұрын
Yo dude your quality is insane, i luv this new series! Keep up thee good work!
@kundieishim
@kundieishim 4 жыл бұрын
Hello GnomeCode, I am having trouble with the AI, specifically the part where you tell it to move back 10 studs, my AI doesn't seem to do that it just continuously runs into the walk without stopping, do you have a way to fix this because I am stumped.
@Pruttesvin
@Pruttesvin 3 жыл бұрын
I have that problem aswell
@mohsin2903
@mohsin2903 2 жыл бұрын
yes this happens to me too!
@Mysterykingdom
@Mysterykingdom 2 жыл бұрын
same
@Scre1mingcat
@Scre1mingcat 2 жыл бұрын
I had it working, I forgot the code, (cause roblox didn’t save my model with the code) but it’s more likely a typo you did when you started with the enum thingy
@yippyskippy1875
@yippyskippy1875 2 жыл бұрын
I can’t get it to work either
@mediocreatbest1269
@mediocreatbest1269 Жыл бұрын
GnomeCode I love you so much. You are the absolute best teacher. We are all so lucky to have these videos. I never understood code so easily before and I just am so grateful. Thank you so much
@ItsOfficialArano
@ItsOfficialArano Жыл бұрын
Bro can you help me i have a problem why the monster cant kill me and i have the target humanoid health to 0
@pedror1439
@pedror1439 4 жыл бұрын
My monster isn’t un-sticking it self Other than that, everything worked, thanks dude
@Pruttesvin
@Pruttesvin 3 жыл бұрын
Same, I have that problem too
@jsnotlout3312
@jsnotlout3312 3 жыл бұрын
Bro, thank you so much for this tutorial, It helped me figure out bugs in my pathfinding script! you're a lifesaver!!!
@reigenarataka7101
@reigenarataka7101 4 жыл бұрын
Omg the intro looks so cool! I really wanna play the game nowwwww
@lxreeeeee
@lxreeeeee 4 жыл бұрын
ik right
@tangerine5709
@tangerine5709 4 жыл бұрын
Me too but we had to wait
@supramgaming2142
@supramgaming2142 4 жыл бұрын
im making a video on this like i did talphy
@molkanyusofdrb-hicom6026
@molkanyusofdrb-hicom6026 4 жыл бұрын
You should collaborate with him
@bababoom-mi7cl
@bababoom-mi7cl 4 жыл бұрын
Yeah and maybe its mobile cuz im mobile
@Tommy_Catz
@Tommy_Catz 4 жыл бұрын
Very creative. I like how you did the AI. You also helped me fix my bot stuttering problem! Thank you so much. You may off heard of me I was the first guy to make How To Make a Piggy Game In Roblox. Very cool AI.
@xylopony
@xylopony 4 жыл бұрын
Can’t wait to play this game!
@GnomeCode
@GnomeCode 4 жыл бұрын
Awesome, great to see such a positive response!
@xylopony
@xylopony 4 жыл бұрын
GnomeCode :)
@untroyboy2828
@untroyboy2828 Жыл бұрын
thank you so much for helping me in my script!
@ItsOfficialArano
@ItsOfficialArano Жыл бұрын
Bro can you help me i have a problem why the monster cant kill me and i have the target humanoid health to zero
@untroyboy2828
@untroyboy2828 Жыл бұрын
@@ItsOfficialArano I'll help you, just send the script
@zerocantaim8773
@zerocantaim8773 4 жыл бұрын
I don't recommend making the animation keep loading into a character as it will use up all the slots in the humanoid animation tracks which will cause the animations to bug. I recommend just creating a variable that loads the animation into the humanoid and just playing the animation in the function.
@janedeere3659
@janedeere3659 4 жыл бұрын
I would be down to play this when the game is fully finished. Looks really nice!
@andrejradicevic1411
@andrejradicevic1411 2 жыл бұрын
Hi, the AI script wasn't hard. The only hard thing was to keep things in correct lines and spelling. Also Tysm! I also have a bug where after Mr. Unknow (The piggyy/granny/teddy/enemy) after playing its attack animation loses his walk animation. If it doesn't get fixed until the end of the series guess i'll have to fix it bymyself somehow! Also sorry if my english is bad cuz im Serbian and only 9 years old
@chellodevZ
@chellodevZ Жыл бұрын
bro my english wasnt even close to that when i was 9 and i was turkish, also dont say sorry and dont reveal your age.
@anti5520
@anti5520 4 жыл бұрын
I’ve been looking for a Roblox Studio devlog, and I’m pretty happy with what I’ve found.
@everythinggamez4888
@everythinggamez4888 4 жыл бұрын
Teddy is the scariest piggy I’ve ever seen Next time you should make Siren Head
@dinoisgood404
@dinoisgood404 4 жыл бұрын
He is not scary at all
@eggz6965
@eggz6965 4 жыл бұрын
DONT ANYONE MAKE A SIREN HEAD PIGGY GAME IM DOING IT YOUR NOT BEATING ME tO IT jk jk jk i prob will make that a game if i do do u want credit bc u made the idea for it
@kellyzahn9205
@kellyzahn9205 4 жыл бұрын
jokes on you I made it a month ago
@glschrauben
@glschrauben 4 жыл бұрын
A siren head game like that would be kind of difficult to balance... Y'Know, cause siren head is 40 feet tall. He'd get stuck on things pretty easily.
@BetaNotAlpha
@BetaNotAlpha 4 жыл бұрын
When i watched 2 i thought that XD
@endergirldragon
@endergirldragon 4 жыл бұрын
Im geniunely excited to see te game finished,It really looks good
@Sjnensnf
@Sjnensnf 4 жыл бұрын
“Like the children function?” That’s still odd...
@giraffe1817
@giraffe1817 4 жыл бұрын
@Yajaira Benitez ikr
@sillychuu
@sillychuu 4 жыл бұрын
*its been so long sounds in the distance. It gets louder* 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…
@Mini-se6cx
@Mini-se6cx 3 жыл бұрын
Nooooooooo
@PiggyBonkers0309
@PiggyBonkers0309 3 жыл бұрын
This Is absolutely perfect. Exactly what I need
@chocolatevanillaswirlwithc9901
@chocolatevanillaswirlwithc9901 4 жыл бұрын
Oml he’s so underrated why does he only have 5k-
@MilkManGuyPerson
@MilkManGuyPerson 4 жыл бұрын
2 7k now
@shwetadasgupta5340
@shwetadasgupta5340 3 жыл бұрын
THIS TUTORIAL WAS SO HELPFUL THANK U!!!!
@GnomeCode
@GnomeCode 3 жыл бұрын
Glad it helped!
@obligeon
@obligeon 2 жыл бұрын
This is actually the only video that explains how to make the NPC follow and kill the closest player. Credit goes to you GnomeCode.
@Robloxstoryguy
@Robloxstoryguy 4 жыл бұрын
Me: *doesn’t know how to make a free admin game* Gnome: *Calls himself a fool because he described something wrong*
@sivvim
@sivvim 3 жыл бұрын
Did you find out how?
@molkanyusofdrb-hicom6026
@molkanyusofdrb-hicom6026 4 жыл бұрын
"A lazy gnome thats 40.1 studs away" Teddy: am I a joke to you?
@azilin8717
@azilin8717 4 жыл бұрын
I'm gonna use this tutorial for a game that I'm making, but not the intended use, and it's not gonna be a Piggy game, so thanks for making this.
@GnomeCode
@GnomeCode 4 жыл бұрын
Awesome, pretty much all the stuff I show in my videos can be used for just about any game. I'd love to see what you make - best of luck with your game!
@azilin8717
@azilin8717 4 жыл бұрын
GnomeCode, thanks man! I'm gonna see how long it takes for me to make, but hopefully I can have it done soon.
@azilin8717
@azilin8717 4 жыл бұрын
Andrew Forsyth, I haven't really started on it yet, and knowing myself, I'll probably give up on it, but my username is BIGBOI13131.
@makotonaegi444
@makotonaegi444 4 жыл бұрын
@Azilin You'd probably need a developing team... I would offer to help but I have no practice with game making. I'm planning to become a game developer so I'll have to learn soon enough, but I hope your game goes well. If it does go well I'll definitely play it! Best of luck. Edit: Accidentally @ed someone else.
@pastelpurple7503
@pastelpurple7503 4 жыл бұрын
I like how teddy doesn’t track you down you have a chance to hide
@nootnoot1918
@nootnoot1918 4 жыл бұрын
You should make the teddy animation, that kills you. Hugs you until you pop.
@GnomeCode
@GnomeCode 4 жыл бұрын
Haha I love it
@SlendiDev
@SlendiDev Жыл бұрын
Thank you I literally spent like 5 days trying to make a pathfinding service code!
@henrywu2544
@henrywu2544 4 жыл бұрын
yes this is some good stuff
@GnomeCode
@GnomeCode 4 жыл бұрын
Thanks for the good vibes, glad you enjoyed
@ryanaerts1554
@ryanaerts1554 2 жыл бұрын
For anybody having trouble with making teddy move back it doesn’t really matter that much because as far as I’m aware the ray casting eliminates that problem
@WhySoWise
@WhySoWise 4 жыл бұрын
" When we get out of sight he will stop chasing us " *Unlike the actual piggy bot*
@xandiventhecoolguywithawei2288
@xandiventhecoolguywithawei2288 4 жыл бұрын
Tsuki The Cat Player: [exists] Piggy Bot: I am Speed
@WhySoWise
@WhySoWise 4 жыл бұрын
@@xandiventhecoolguywithawei2288 lmao nice meme
@sirrink2574
@sirrink2574 4 жыл бұрын
Like the bot is basically just a tracker
@stillchill7223
@stillchill7223 4 жыл бұрын
Bruh u right
@mrdrclarky6978
@mrdrclarky6978 4 жыл бұрын
Yep, I see no error here
@andyprutica7978
@andyprutica7978 4 жыл бұрын
This guy is so good I cant believe the game is not on games
@safi3968
@safi3968 4 жыл бұрын
TRUST ME THE AI IS EASY, BUT THE PLACEMENT SYSTEM IS 10X HARDER. You need to check when they die and when they leave and cleaning up after the game ends, its gonna take time trust me.
@GnomeCode
@GnomeCode 4 жыл бұрын
I trust you
@chiseledcheese
@chiseledcheese 4 жыл бұрын
INSANE TEDDY DESTROYING EVERYTHING THAT'S IN HIS PATH... Chill Gnome: 40.1 studs away. Me: 40.00000000000000000000000000000001 studs away
@SilentLingua
@SilentLingua 4 жыл бұрын
cool! you know that you can customize your monster so try that!
@FR3Y4IK
@FR3Y4IK 4 жыл бұрын
I found a funny bug where a dog kills me, after which the attack animation remains and it walks funny XD
@pabloescobar__4
@pabloescobar__4 4 жыл бұрын
lol that happened to me and it took me to long to figure out i needed to turn off repeat for the anination
@deer6597
@deer6597 4 жыл бұрын
Me: **has no idea how to code** Gnomecode: **talking about coding** Me: *WRITE THAT DOWN WRITE THAT DOWN*
@dinoisgood404
@dinoisgood404 4 жыл бұрын
Lol
@deer6597
@deer6597 4 жыл бұрын
@Penny Pig yes
@deer6597
@deer6597 4 жыл бұрын
@The Wubbox Gamer OOF
@taherabegum5563
@taherabegum5563 4 жыл бұрын
SPELLING 101
@deer6597
@deer6597 4 жыл бұрын
@@taherabegum5563 not any more
@bearycwte7782
@bearycwte7782 4 жыл бұрын
When the teddy sees you it could switch animations like a "chase" animation where it is running at you with its arms up towards you that would be pretty cool
@mingusmcu
@mingusmcu 4 жыл бұрын
Who else agrees that his typing is supremely satisfying?
@thereaway957
@thereaway957 4 жыл бұрын
THIS IS SO COOL CANT WAIT TO PLAY IT! :O
@kucherkids140
@kucherkids140 4 жыл бұрын
Scripting is not boring to watch I find it entertaining to me
@zurich_playzbg6165
@zurich_playzbg6165 3 жыл бұрын
GnomeCode: "I dont think our teddy is that smart, he's just a dumb monster" Teddy: 😢😢
@safi3968
@safi3968 4 жыл бұрын
I dont recommend having radius just check if the player is closer than other player because people can avoid the teddy.
@GnomeCode
@GnomeCode 4 жыл бұрын
That's why the teddy patrols around the map, so hopefully he will enter the radius of a player eventually
@safi3968
@safi3968 4 жыл бұрын
@@GnomeCode but then what if there is 2 floors?
@nq5044
@nq5044 3 жыл бұрын
@@GnomeCode but my map os huge,he is just staring in wall and go in circle,any solution how to fixx that?
@Scre1mingcat
@Scre1mingcat 2 жыл бұрын
@@nq5044 possibly typed something wrong, or the map is too complicated.
@Scre1mingcat
@Scre1mingcat 2 жыл бұрын
@@GnomeCode I need help with the Ai in sticking it’s self from the wall, it just runs flat faced into the wall and just stands there, they’re no typos.
@anteraska8588
@anteraska8588 4 жыл бұрын
Ray casting has changed. Now you need to do something along the lines of: local origin = head.Position local direction = (rootPart.Position - origin).Unit * 1000 local params = RaycastParams.new() params.FilterDescendantsInstances = partTableInst params.FilterType = Enum.RaycastFilterType.Whitelist local result = workspace:Raycast(origin, direction, params) then if you want the part it hit use result.Instance but for this just do if result then -- execute here else -- execute alternative here end
@phaserx3294
@phaserx3294 3 жыл бұрын
It still didnt work for me, well kind of but like my dood can barely detect me
@Freezy_exists
@Freezy_exists 2 жыл бұрын
Thx
@Freezy_exists
@Freezy_exists 2 жыл бұрын
Ill try it and see
@KADE_FNN
@KADE_FNN Жыл бұрын
gnome's code worked 3 years later
@AqeelAqeel-vp1ib
@AqeelAqeel-vp1ib 3 ай бұрын
thanks, this tutourial also helped me learn functions and breaking
@klippines
@klippines 4 жыл бұрын
When you completely finish making this game can you make the whole thing a model
@purplehexaballs
@purplehexaballs 4 жыл бұрын
uKooU I see what ur trying to do well I THINK I do
@klippines
@klippines 4 жыл бұрын
GamingWithWaffle shut up no one asked you
@klippines
@klippines 4 жыл бұрын
GamingWithWaffle :(
@marlosuper
@marlosuper 4 жыл бұрын
@GamingWithWaffle why the shit is your latest video how to get a free dominus?
@GamerBrinedQw4w9WgXcQ
@GamerBrinedQw4w9WgXcQ 4 жыл бұрын
GamingWithWaffle yeah. And you say he is trying to copy. Your just trying to scam with a “free dominus”.
@lazymathew1263
@lazymathew1263 4 жыл бұрын
this guy deserves as much as minitoon
@kungfufanta2210
@kungfufanta2210 4 жыл бұрын
The line of code where you fix the stuttering walking of the AI using the 'SetNetworkOwner' bit wasn't working for me, so i replaced the 'PrimaryPart' with 'HumanoidRootPart' and it fixed the issue; idk if this is a common issue but that's a way to get it to work :)
@haarissadiq8761
@haarissadiq8761 2 жыл бұрын
you probably didnt set the primary part of the model to the humanoidrootpart, you can do that in properties
@Atlas_TAOG
@Atlas_TAOG 8 ай бұрын
i know this series is most likely done, but can you make a extra episode adding a jumpscare, and a chase theme if you have not already?
@davidbazooka3399
@davidbazooka3399 4 жыл бұрын
Can you do it so the camera zooms onto teddy to emphasize the death?
@shirtstyle9514
@shirtstyle9514 4 жыл бұрын
Yeah i agree, I've been thinking about that ever since i watched the other video of this because to me it was kinda cool in piggy.
@daffy2261
@daffy2261 3 жыл бұрын
He will do it
@Azerio618
@Azerio618 4 жыл бұрын
I love these entertaining content keep the work up
@baldmandoesstuff8306
@baldmandoesstuff8306 4 жыл бұрын
can you make a tutorial on how to make an fps game? I know that there is a lot of tutorials about this but I really like how you explain things pls
@sirmagnum7
@sirmagnum7 4 жыл бұрын
He already says he is goin to make one
@odasiam6899
@odasiam6899 4 жыл бұрын
Miguel Animatrônicos I DONT AGREE
@makotonaegi444
@makotonaegi444 4 жыл бұрын
@Miguel Animatrônicos For a second I was like 'This psychopath.' *then i noticed her name*
@makotonaegi444
@makotonaegi444 4 жыл бұрын
What is an FPS game?
@ChamaNshindano
@ChamaNshindano 13 күн бұрын
This video has not got any more comments since 4 years ago
@GrapeGuy
@GrapeGuy 4 жыл бұрын
My whole code broke after I added the local attackAnim = humanoid:LoadAnimation(script.Attack) attackAnim:Play() target.Humanoid.Health = 0 thing
@GnomeCode
@GnomeCode 4 жыл бұрын
Hmm okay, it's a good idea to make sure you have your output window open to display any errors that might be wrong with your code. In this case I would check that you have named your animation 'Attack' and it's located inside the script
@GrapeGuy
@GrapeGuy 4 жыл бұрын
@@GnomeCode It works now, I have been using output the whole time but it doesn't seem to help a lot.
@GnomeCode
@GnomeCode 4 жыл бұрын
@@GrapeGuy That's good you sorted it! It'll take time to get used to understanding the errors it gives you, but even if you don't understand them at first you can at least try to guess, and if you tell somebody an error they may well be able to understand your problem easier
@GrapeGuy
@GrapeGuy 4 жыл бұрын
@@GnomeCode Ok, thanks.
@elischwinghamer9684
@elischwinghamer9684 4 жыл бұрын
@@GnomeCode hey um i need hlep, when i put in the code for it to chase you it stopped the animation and it can kill you from a mile away how do I fix this
@sunnybun5684
@sunnybun5684 4 жыл бұрын
I LOVE IT also BTW how are you not famous? 🤔 Suggestion:Make a copy of Jeff. (Jeff is like a fan game of Piggy and you need to get potion things to escape and there's different Jeff's and stuff like that)
@GnomeCode
@GnomeCode 4 жыл бұрын
Haha thanks for the good vibes. Teddy will essentially be an amalgamation of granny/piggy/jeff/bear - they are all a very similar concept
@sunnybun5684
@sunnybun5684 4 жыл бұрын
@@GnomeCode nice could you please do more of this recreating roblox games as I can't find videos like this!
@GnomeCode
@GnomeCode 4 жыл бұрын
Great idea!
@sunnybun5684
@sunnybun5684 4 жыл бұрын
@@GnomeCode yea and I love watching recreating!!
@genuinefraud8262
@genuinefraud8262 4 жыл бұрын
when the thing detects me it says " attempt to index nil with 'MoveTo' " ive checked my code multiple times and everything is fine Edit: fixed it, just found out i missed some caps
@Kitsune_Dev
@Kitsune_Dev 4 жыл бұрын
Thanks for making this, I am struggling with my own AI script
@lasagnaguy1607
@lasagnaguy1607 4 жыл бұрын
I've followed all the videos and everything works almost perfectly but whenever the AI gets close enough to the player the AI just kinda stops for a second, walks towards the player, and repeats. Is there any way to fix that?
@trihasenteredthechat939
@trihasenteredthechat939 2 жыл бұрын
idk, and sorry for the late response, but i've tried setting the network owner to the client instead of the server, but that completely stopped the bot, can you tell me if you've found anything yet? I'm guessing it has to do with computing the path
@blueishblueberry
@blueishblueberry 2 жыл бұрын
@@trihasenteredthechat939 set it to nil?
@trihasenteredthechat939
@trihasenteredthechat939 2 жыл бұрын
@@blueishblueberry yeah that's how it's supposed to be that's what i had it at, but then the bot did the same thing it might actually be a problem with waiting to move to a waypoint, you could change the time of movement to waypoints.
@Comfort4You1
@Comfort4You1 4 жыл бұрын
Teddy: u r gonna have a death time Other Players: aaaaaa Me: is ya sans or something?
@yabloodylegend7643
@yabloodylegend7643 4 жыл бұрын
The man behind the judgment hall
@Comfort4You1
@Comfort4You1 4 жыл бұрын
Lol
@kmineblox600z
@kmineblox600z 4 жыл бұрын
Me: can I see the 2 com- KZbin: NO Me: why is there 0 visits and 1 lik- KZbin: BECAUSE I HAVE THE CORONA VIRUS AND I COUGH IN MY HAND AND SNEEZE TOO
@ant1ar130
@ant1ar130 4 жыл бұрын
GnomeCode: as we start to approach Teddy: OH YOUR APPROACHING ME???
@Yesimthatgreenguy
@Yesimthatgreenguy 4 жыл бұрын
Honestly, just watching the intro makes me wanna play the game badly.
@reximus9652
@reximus9652 4 жыл бұрын
Same for me
@Dejsun
@Dejsun 4 жыл бұрын
To Be Honest This is the best AI i ever seen most of them are just like locked on to players until the end edit: This would be some great AI for a stealth game in roblox
@thetntteam
@thetntteam 4 жыл бұрын
Hey. can you put the code of the ai in the description?
@stanky-edits
@stanky-edits 4 жыл бұрын
He deserves more sub! This is amazing!
@alonepoptart24_6
@alonepoptart24_6 2 жыл бұрын
amazing videos bro!
@kingfred9
@kingfred9 4 жыл бұрын
69th like sorry unnecessary good vid tho
@shannonmay4687
@shannonmay4687 4 жыл бұрын
Fred_Dev I lakd
@toastycob
@toastycob 4 жыл бұрын
FredDeveloper ya
@jackkai6213
@jackkai6213 2 жыл бұрын
Why it doesn't move 10 studs backwards when it gets stuck ?! I tried your model in studio and he doesn't unstuck himself neither the animation plays .
@sovereign831
@sovereign831 4 жыл бұрын
Petition to make this a free model? Just like to vote.
@chaoscartoons2021
@chaoscartoons2021 4 жыл бұрын
No reason to, it would be a complete waste making a game and not even knowing how to script it
@sovereign831
@sovereign831 4 жыл бұрын
@@chaoscartoons2021 Others may be able to and want to skip all the work.
@chaoscartoons2021
@chaoscartoons2021 4 жыл бұрын
Those “others” can stop being lazy then and actually learn
@reximus9652
@reximus9652 4 жыл бұрын
Description?
@reximus9652
@reximus9652 4 жыл бұрын
@@chaoscartoons2021 and true they should learn to
@kennethkline7702
@kennethkline7702 4 жыл бұрын
LOL, this is such great content!
@JayDaComposer
@JayDaComposer 4 жыл бұрын
A new Idea for a series: How to make a combat DBZ like game. You will do this challenge if you thin highly of your skills. You do right?
@dan_8297
@dan_8297 4 жыл бұрын
Ayyy good to see you have 3k subs
@MakariosAppiah-kubi
@MakariosAppiah-kubi 9 ай бұрын
For anyone having trouble with the CanSeeTarget part, replacing it with "local function canSeeTarget(target) local origin = monster.HumanoidRootPart.Position local direction = (target.HumanoidRootPart.Position - monster.HumanoidRootPart.Position).unit * 40 local raycastParams = RaycastParams.new() raycastParams.FilterDescendantsInstances = {monster} local result = workspace:Raycast(origin, direction, raycastParams) if result then local hit = result.Instance if hit and hit:IsDescendantOf(target) then return true end end return false end" Might help.
@idekbrofr
@idekbrofr 3 ай бұрын
THANK YOU
@MakariosAppiah-kubi
@MakariosAppiah-kubi 3 ай бұрын
@@idekbrofr happy to help
@sovereign831
@sovereign831 4 жыл бұрын
Gnome.....theres a game already like Piggy a horror game ands its called Bear and the Bears look exactly like teddies. Look it up on Roblox its super popular. I got a cool game called Nooby im working on with some other people and I got a Character for Nooby who is cool and I want to know if you could by any chance help me with the game? Or help me make the Nooby Character work and move and attack that would be nice.
@thecouncilfamily9218
@thecouncilfamily9218 2 жыл бұрын
there was a bug i thought it was just me but then you said it was a bug then you fixed it, it helped me sooo much
@leosbellgalvez6368
@leosbellgalvez6368 4 жыл бұрын
This is way better than alvin blox. Nice job gnome love ur content
@Erolsaurus
@Erolsaurus 3 жыл бұрын
Thanks for the tutorial! It really helped me.
@zackOOO-nz9rh
@zackOOO-nz9rh 4 жыл бұрын
Oh? You're approaching me? Well too bad because you're behind a wall.
@BuCket-on3mo
@BuCket-on3mo 2 күн бұрын
thanks for completely breaking my game :)
@babyaxolotl6433
@babyaxolotl6433 4 жыл бұрын
I like this cause in piggy the AI keeps following you but teddy stops when he can't see you, this is amazing.
@silvermist_studios
@silvermist_studios Жыл бұрын
This really helped me thank you so much, but is it okay to feel like I'm just copying code and not learning anything?
@Yeilding_HD
@Yeilding_HD 4 жыл бұрын
im scared in your intro wahha lol i love the video
@MrMetrivus
@MrMetrivus 2 жыл бұрын
Why the walk animation isn't always playing but in your video it does.
Making Unlockable Doors with Keys - Teddy Horror Gamedev #4
14:54
Monster Attack Jumpscares - Teddy Horror Gamedev #8
15:22
GnomeCode
Рет қаралды 204 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Building The Map - Teddy Horror Gamedev #7
12:00
GnomeCode
Рет қаралды 222 М.
Let's Remake Piggy FROM SCRATCH! - Teddy Horror Game #1
10:11
GnomeCode
Рет қаралды 659 М.
Roblox Forsaken is...AWESOME
7:36
Coolaid
Рет қаралды 25 М.
TDS RPG: The Entire Game...
16:28
Elite
Рет қаралды 660 М.
Why I Hate Roblox Abilities
11:52
ByteBlox
Рет қаралды 403 М.
I Coded Minecraft Features Nobody Asked For...
28:58
Knarfy
Рет қаралды 206 М.
Making Crouch/Crawl Button - Teddy Horror Gamedev #6
11:22
GnomeCode
Рет қаралды 211 М.
I Made 3D Doom in Scratch
9:12
UsmanDev
Рет қаралды 102 М.
Why Roblox FNAF Is AMAZING
14:31
Profie02
Рет қаралды 430 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН