Hey,
So I have this Cframe script, using this same script, how can I make it so that it moves to another bricks position. This script will Cframe the whole model and I would like to keep it that way.
Thanks!
function onClicked()
wait()
for i = 0, 10, 0.2 do
game.Workspace.Pie:SetPrimaryPartCFrame(game.Workspace.Pie:GetPrimaryPartCFrame() + Vector3.new(game.Workspace.Part.Position))
wait()
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
