Hi I Need Help For My Horror Game…
So i was trying to make a enemy npc but it was not working , so i wanted to get a enemy npc from toolbox but all npc are not working… (like: not walking, walking but to one direction, standing still)… so i cant do an enemy npc so i need help for it, can someone teach me how to make an enemy npc
----------------------------------------What I Need As Help----------------------------
Npc Needs To Follow A People Thats Behind Him
-Npc Needs To Attack
-Npc Needs To Have Unlimited HP
-Npc Needs A Animation (made by me)
-Npc needs to give a jumpscare when he have killed you’
If the npc is behind you there needs to come a horror song
-Npc needs to run to a player that he sees
------------------------------------extra help----------------------------------------
-npc needs to teleport
-horror NPC making
-making animation for the NPC
You can create a pathfinding script and additional features so it doesn’t get stuck.
As for attacking it could play an animation
For unlimited HP Set maxhealth to 1e27 and then health to 1e27 if your using a script
If the NPC Comes close i suggest this video https://www.youtube.com/watch?v=L_Jga2MgRdU. You could easily alter it to play sound whenever the NPC is close by
Pathfinding Service, CFrames’ Unit vectors. (upVector, rightVector and lookVector) Humanoid animations/events/states, (if humanoids will even be used)
you’ll even need your own state checks to determine whether or not the NPC is attacking,following,teleporting, idling, etc.
but since this is so broad you’ll need to try atleast some of these things out yourself and come back, I don’t think anyone here is going to give you all that code ina single post.
it will be easier for us to help you with little bits at a time. (maybe starting with your NPCs walking or settings/states)