Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a hostile NPC?

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

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!

2 comments

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?

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).

This discussion is preserved as it was. New answers, comments, and votes are closed.