So I've been trying to change the position of a part and I tried this:
local part = script.Parent
part.Position = 198.92, 8.949, 345.3
but it shows me a script error and I don't know what to do.
So I've been trying to change the position of a part and I tried this:
local part = script.Parent
part.Position = 198.92, 8.949, 345.3
but it shows me a script error and I don't know what to do.
To change the position property of a part, you need to use Vector3.new():
local part = script.Parent
part.Position = Vector3.new(198.92, 8.949, 345.3)
I hope this helped!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you so much!