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

NPC script HELP?

Asked by
iLegitus 130
9 years ago

So,Ive got a custom animal ive built,Specifically a snail. Now,It doesnt have the normal body parts it has. Head Torso Shell Neck

Thats all it has. Now,Is there ANY tips,Links,Advice,Answers that anyone can provide. Im really new to NPC scripting,I need to know how i'd actually move it to one place to another,Like the Follow humanoid script.

H = script.Parent.Humanoid

H:MoveTo(Vector3.new(0,0,0))

Something like that. Anyone can help? Oh and P.S This NPC doesnt have a humanoid.

1 answer

Log in to vote
0
Answered by
xAtom_ik 574 Moderation Voter
9 years ago

ITs so obvious. If it doesn't have a humanoid. It wont actually do anything because your finding the humanoid and its NOT THERE so it wont do anything. If you want to make something with no name. Insert a humanoid. Change MaxHealth and Health to 0 and name it " "

0
Reply if it works :P xAtom_ik 574 — 9y
0
Undo,The thing is ive inserted a value wich has "5" as a value,Thats the snail's head,Im talking about not wanting to show the yellow bar and the name at the same time,But i can try using both humanoid...And value i guess? iLegitus 130 — 9y
Ad

Answer this question