function movepart() wait(2) game.Workspace.part.CFrame = CFrame.new(9,9,9) end
✓ ANSWER ACCEPTED
this is for a script im working on my part well not move and i need help why is it not moving?
1 answer
✓ Accepted answer
You're not calling your function.
This is what your script looks like,
function movepart()
wait(2)
game.Workspace.part.CFrame = CFrame.new(9,9,9)
end
However, the function on line one is not being called. To fix this, simply add movepart() at the end of the script,
function movepart() --function
wait(2)
game.Workspace.part.CFrame = CFrame.new(9,9,9)
end
movepart()--call
Here's a link for more about functions.
Good Luck.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
ty
np