i tried using this to move a part, but it would move, it just says there, if there are any errors can you please tell me, or etc
while true do
part.position = Vector3.new("0.05,10,-0")
part.position = Vector3.new("0.05,10.01,-0")
part.position = Vector3.new("0.05,10.02,-0")
part.position = Vector3.new("0.05,10.03,-10")
i also put
local part = game.Workspace before that
Yes. Do not add quotation marks to the coordinates, since quotation marks are only for strings, not Vector3 Values.
You’re passing a string to
Vector3.new when no overload that takes a string exists. it takes 3 numbers.
while true do
part.Position = Vector3.new(0.05,10,-0)
part.Position = Vector3.new(0.05,10.01,-0)
part.Position = Vector3.new(0.05,10.02,-0)
part.Position = Vector3.new(0.05,10.03,-10)
i tried that its still not working
I am new to programming, but i think you should remove those strings/quotation marks. Correct me if i’m wrong.
What is not working? Don’t just say “it’s not working”, and give more details. What script type is it? Where is it? Is it disabled? Why not try debugging? Is the output saying anything?
yes youre right, but its still not working
it is a
local part = script.Parent at the top if the script is in the part. You said you had
local part = game.Workspace which isn’t right.
ok i will try that right now. thanks
Maybe try doing script.Parent on the beginning, and make sure the script is a child of the Part.
I see what you did. You’re suppose to Capitalize p in position. When coding, it is very important to call the object correctly.
thank you, that was such a newbie mistake i made