I want to have ghosts floating around the lobby of my game. I don't want them to have health or anything, just for them to like float around. I need them to automatically move around the lobby. Is this possible?
How do I make NPCs?
4 answers
Yup! You should probably be doing some research on BodyVelocity and BodyGyro for objects that fly in the air: http://wiki.roblox.com/index.php/RBX.lua.BodyVelocity_(Object) http://wiki.roblox.com/index.php/RBX.lua.BodyGyro_(Object)
Yes. You can weld bricks and then use CFrame to move them. BTW NPC's names and health bar doesn't have to show. Just remove the name and let the MaxHealth be 0.
This is, possible you need to study over some velocities and stuff, and by the way if you don't want them to go away or trhrough the lobby, use raycast to check if somethhing is in it's way.
Ghost = script.Parent
while true do
--Ghost goes up for x = 1,15 do Ghost.CFrame = Ghost.CFrame + Vector3.new(0,5,0) wait(0.1) end
--Ghost goes down You can change it to move back and forward for x = 1,15 do Ghost.CFrame = Ghost.CFrame + Vector3.new(0,-5,0) wait(0.1) end end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Find a simple model of a robloxian, turn al of its body parts transparent insert this script into the model or atleast all the body parts and it should move up and down