Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a hostile NPC?

Asked by 5 years ago

I have just started scripting on Roblox, and I want to make an SCP, the "Infinite IKEA". I want to add the staff into the entire build, so I want to make the two things. I have a walking (day) animation, so how do I make a hostile NPC and add custom animations to it? Sorry if this is too much of a question.

1 answer

Log in to vote
0
Answered by 5 years ago

If you're referring to how you would make an NPC attack a player, I will give you two strong resources to check out. Unfortunately there is going to be some researching, but researching is all a part of the programming journey, so you better get used to it!

MoveTo() Wiki Entry

Touched() Wiki Entry

If you have any more questions, feel free to ask!

0
No, as my profile says, I've only just started scripting and I don't even know how to make an NPC. If it wouldn't trouble you, can you give me a link to how? voldemrt 0 — 5y
0
I don't want to sound aggressive in any way by responding in this matter, but if you're just starting out with scripting, learning how to both create and manipulate NPCS (humanoids) might be a bit out of your reach at the moment. I would strongly suggest focusing on learning the basics, like part manipulation (look into weilding as well). MezornoIV 25 — 5y
Ad

Answer this question