Rotating a part using Vector3 instead of CFrame

for some reason i copied the script and it does that:

Capture d’écran 2024-04-28 190706

it teleports to the part, and it spins too