I think move a part like the part is on position -134 -233 -122 and I wanna move it to -222 -548 -876 I tried workspace.example.Position = -222 -548 -876 it have blue line and it doesn't work.
Hey there! This is my first answer in this month.
So this question is simple. You cannot set the position by doing workspace.example.Position = -222 -548 -876
, what you need to do is:
workspace.example.Position = Vector3.new(-222, -548, -876)
Notes:
There is no quotation marks (") between the bracket.
You need to put comma (,) between x,y,z positions. Example (1, 2, 3) [It is okay to put spaces or no spaces. If you wanna make it look clean, do my way. But the most important thing is you must put comma between them.]
Lastly, imKirda did a very well explaination of what you should do. I'm just giving of what you should put in your script. Thanks for questioning and have a happy day!
If you have any problems, comment below and I will be glad to help. Cya!