So I'm making this door script, and it has lookvector in it. Simple, right? not really. So the script below is the lookvector part, but the part being moved is going forward instead of to the sides. I just want to know how to configure it.
for i = 0.5,(door.Size.z / 0.014) do
door.CFrame = door.CFrame - (door.CFrame.lookVector * 0.014)
wait()
end

3 comments
Try the other 2 and see which one works for you.
Thanks! I didn't realize that I didn't have to change the numbers!
No problem! I would appreciate if you accept my answer <3