How can I get a part when Inserted to get to the right position?
Example;
a = Instance.new("Part")
a.Posittion = Workspace.foxy83.Head.Torso
How can I get a part when Inserted to get to the right position?
Example;
a = Instance.new("Part")
a.Posittion = Workspace.foxy83.Head.Torso
Well, position goes by Vector3
Example:
a = Instance.new("Part")
while true do
wait()
b= game.Workspace.foxy83.Torso.Position
a.Position = Vector3.new(b)
end
I think it should work. You did spell Position wrong, and if you want it to go to the players torso use the above
Thanks!
Errors: Spelt Position wrong and Torso is not in Head Well if you want it inside of the head you should do,
a = Instance.new("Part")
a.CFrame = CFrame.new(Vector3.new(Workspace.foxy83.Torso.Position.X,Workspace.foxy83.Torso.Position.Y,Workspace.foxy83.Torso.Position.Z))
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Position*