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

How can I make an object move to a location with a script?

Asked by 10 years ago

I want to move a car to a certain position. How can I do that.

1 answer

Log in to vote
0
Answered by 10 years ago

Okay, this may be simple. The command isn't always 100% truly accurate, but

game.Workspace.CAR:Moveto(Vector3.new(x,y,z)) --replace CAR with the Car's model name and x,y,z with the position you want the car to move to

If the CAR is in another child of workspace, specify.

Ad

Answer this question