How do i rotate models when I click to them?

I think we can use click detector but ı dont know how to use Cframe or other things ı just searched to much but ı still cant do that.

script.Parent.MouseClick:Connect(function()
      Model.CFrame = CFrame.new(0,0,0)
end

Not tested, change 0 to your preferences.
Written on mobile

but it needs to be animation to move

there should not be a direct displacement like teleportation

Then use TweenService to achieve “animation”.

1 Like

Tween the CFrames using Tween Service.

1 Like

I made the tween animation but the part is only moving just not rotating itself

Try with Vector3, you can find the documentation here.