fgate = game.Workspace.Gate1 click = script.Parent click.ClickDetector.MouseClick:Connect(function(on) for 1,10,0.2 do fgate.CFrame = CFrame.new() -- position is has to get to at the end end
It's almost like you're not trying at all, but first you need to get the first position and second position. Then you can do a tweeningservice from position1 to position 2