Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why won't this work anymore?

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?

1 comment

2

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)

1 answer

✓ Accepted answer

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.

1 comment

0

Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.