Model:MoveTo(script.Parent.Position.x,script.Parent.Position.y+1,script.Parent.Position.z)
OutPut
09:24:18.051 - Unable to cast double to Vector3
Model:MoveTo(script.Parent.Position.x,script.Parent.Position.y+1,script.Parent.Position.z)
OutPut
09:24:18.051 - Unable to cast double to Vector3
Very easy fix here. You need to Set the MoveTo() to be a Vector3. MoveTo requires a vector3, simply add in the Vecto3.new() in the MoveTo's parentheses.
The Move() function takes two arguments, the model that's going to be moved(It's there if you add the :) and the Vector3 value of where the model should move to.
To fix it just look at the code down below.
Your code should look like this:
Model:MoveTo(Vector3.new(script.Parent.Position.x,script.Parent.Position.y+1,script.Parent.Position.z))
This discussion is preserved as it was. New answers, comments, and votes are closed.