Hello! I am making a game, and I am trying to test :MoveTo().
script.Parent.CarCover:MoveTo(-85.1, -0.8, 346.2)
Literally nothing happens. Yes, "script.Parent.CarCover" does exist and is a model. Nothing moves. CarCover does have a PrimaryPart. Does the anchored value matter in this case?
First off, it would help if you provided us an error with the script if there was one present. However, I was able to pick up on the issue fairly easily. You never used a Vector3 Value for the :MoveTo()
function. Thus leaving the script to error stating the argument was invalid.
All you have to do is put the numbers you provided with your script into the parenthesis of Vector3.new()
script.Parent.CarCover:MoveTo(Vector3.new(-85.1, -0.8, 346.2))
****Note****
This function does work, just it is Vector3 missing
****Solution****
script.Parent.CarCover:MoveTo(Vector3.new(-85.1, -0.8, 346.2)
If it dosen't work then try another Awnsers.