I have found scripts local scripts to move/ rotate a object/model, but I do not know how to make the script work. Can anyone help?
COMMUNITY QUESTION
How do you make a script to move an object/model Cframe?
1 answer
I don't think local scripts should do the job for you. A normal script should be fine.
Here, this should help you.
local part = script.Parent
local start = part.CFrame * CFrame.new(0,0,0)
local finish = part.CFrame * CFrame.new(0,2,0) -- only edit these numbers
--if you want it to rotate instead of move, change "CFrame.new" to "CFrame.Angles"
-- over the course of 1 second, vary `progress` from `0` to `1`
for progress = 0, 1, 0.03 do --If you want it to loop, change the number one here to 2. Also add "while true do" before "for progress".
part.CFrame = start:lerp(finish, progress) --this makes the part move from the start to finish
wait()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
He said model.
yeah i know, he could try welding all the parts together but I don't even know how to do that