Making a horror game, an important part of it is the killer, who's model I have down, but the the problem is I need him to randomly wander around and then start going after someone when he gets within a certain range (Maybe like 25 studs) and when he gets you, he kills you. How do I script this?
Also, what part do I put the script into to make it work?

4 comments
Alright, I'll post some links to help you out because you cannot expect us to give you free code.
https://developer.roblox.com/en-us/articles/Magnitude
https://developer.roblox.com/en-us/api-reference/function/Humanoid/MoveTo
If magnitude doesn't work, you should then consider Player:DistanceFromCharacter().