Trying to change the position of a brick with a script.
script.Parent.Position = 0, 0, 0
This used to work. Why won't it work now?
Trying to change the position of a brick with a script.
script.Parent.Position = 0, 0, 0
This used to work. Why won't it work now?
A part's position is modified through Vector3, a userdata that refers three values, x,y,z.
part.Position=Vector3.new(0,1.5,0) -- this makes it float.
To include, 0,0,0 is the center of the world.
Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Position is a Vector3 value, you need to put the 0,0,0 in a Vector3 function. So it would look something like this Vector3.new(0,0,0)