How To MAKE a Pathfinding MONSTER In Roblox Studio!

preview_player
Показать описание
How To MAKE a Pathfinding MONSTER In Roblox Studio!

🛠 This is How To MAKE a Pathfinding MONSTER In Roblox Studio! Thanks so much for watching, hope you guys have a great day! Subscribe 😎🛠

⌚Timed Chapters:
0:00 Intro
0:40 Waypoints
1:40 Pathfinding Script
17:45 Testing
19:42 Animations
24:50 Outro

📝Tags:
#roblox #robloxstudio #gamedevelopment #robloxstudioscripting #robloxstudiotutorial #lua #robloxhorror #robloxhorrorgames

❓What is Roblox Studio?
🔎Roblox Studio lets you create anything and release with one click to smartphones, tablets, desktops, consoles, and virtual reality devices.

❓Who am I?
🔎I am a Roblox Studio Tutorial YouTuber that you should Subscribe to :)
Рекомендации по теме
Комментарии
Автор

Finally a video not 4 years old 🙏😭
The script works well but my attack animation does not stop it continues without switching to the walk animation
I would like to know how to fix it even tho it's not a big deal I can just do a jumpsare scene instead

Hello-ksxd
Автор

thank you rustysillyband, this works really well and i couldn't have done this without your video

uz
Автор

OMG TYSM! I've been searching for an actual working pathfinding monster for months and i finally found yours! This really helped!

FungiGtagVR
Автор

THANK YOU SO MUCH OMG I HAVE BEEN STUCK ON THIS FOR DAYS

skylrgreen
Автор

Is this series going to be a horror game like the asylum? or something else. If something else, please inform me on it

ReeseFitzgerald-le
Автор

THE ONLY WORKING PATHFINDING I FOUND AND IT WAS EXPLAINED AMAZINGLY THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU







(If you couldn't tell I'm quite thankfull for this)

RodsterInk
Автор

i dont know whats happening but when i did all the scripts and everything he wont move around at all he just stands there and wont even kill you

wutsigma
Автор

From the BOTTOM of my heart, I LOVE YOU. I have searched for tutorials for a WHILE and none of them worked, but this worked. You don't know how much I genuienly love you bro. Really helpful that you explained this since I have a little bit of coding experience and therefore I made changes that suited my game, thanks for that too

allgusontop
Автор

hi bro idk if ur going to read this but pls make me a horror looking thing in that game and send the link of body parts pls im sub

benjoyrhnw
Автор

Great tutorial! you are one of those devs that actually explain things unlike the scam devs that make you script for like 500 hours and then nothing works; New subscriber great channel. Like personally I'm a small roblox dev but these tutorials are very good.

raygupRBLX
Автор

Is there a way for you to make the monster switch animations? In the game im making I want the monster to start running when it locks on to you but theres no way to stop the other animation.

indominusplays
Автор

hey man! so i do have a few problems

1. even if the AI is faster then you, it will stop in little tiny intervals, causing it to not kill you even if you cant outrun it via walkspeed difference
2. i have barriers placed around the map, and if i am on the other side of the barrier the AI is, it will just walk to some other waypoint instead of continuing to chase me/going around the wall, i think this is generally because of how raycasting works

dominictube
Автор

This helped me a LOT
The monster chases the player perfectly!
But for some reason ( idk why) it can't follow the waypoints.. It doesn't even do the first one.
But overall, It's perfect!
I'm going to find how to make the pathfinding work.

ChatGris-vfiu
Автор

The problem with this model I don't like
Is that I like my horror game to have multiple monsters
But when i saw
Local function(Ondeath)
My dreams we're crushed.

davealdrindeloso
Автор

oh. my. god. THANK YOU SO MUCH OMG I ACTUALLY NEEDED THIS THANKS PLS KEEP IT UP

GingerSnaps
Автор

Heyy Rusty! Its me again. I was working on my horror game with very little knowledge and I ran into an issue. I was wondering how to adjust the FirstPerson Script you made in your other video to make it where when GUI is visible it is unlocked, so that you can move your mouse around. Please let me know how to fix this!!

ReeseFitzgerald-le
Автор

Thank you so much for this tutorial, it really helps for my horror game.
Do you have another tutorial that can help add a jump scare if the player is touched by the rig? thank you

amogusus
Автор

I'm having a slight issue, the monster is not chasing the player, is it because I have a custom player model for the game? It could also be because my monster is large, idk

Edit: found the issue, the problem is that I can't fix it, the reason why it isnt working is because its root part is higher than the player meaning it doesn't see the player, my problem is that I can't make my monsters legs smaller, is there any other fix?

DragonKingGaming
Автор

If there is anyone who is making a single-player horror game (like me) and already has the jump scared added (it's one of his other videos)
And is rather annoyed about the walking animation needing to be shorter, or your NPC having a reaction of a brick. There is a simple solution,
make a separate script, put a folder into the script and name it "Animations", put an Animation in the folder and name the animation "Walk", and put your ID into the animation. Put the following into the script;
" local rig = script.Parent

local animations = script.Animations

local walkAnimation =

walkAnimation:Play()"
The jumpscare will still play as normally, your NPC walking animation can be longer than the patrol and won't break, you can have an attack animation but the player won't see it (most likely)

foxyfriend
Автор

can you please make another video about fixing the bug on your model? When the waypoints are behind a wall he just hugs the wall instead of going around it...

aykutdemirci