When using tween service to rotate my character it also moves it to the character's spawn point

  1. What do you want to achieve? Keep it simple and clear!
    i want the character to rotate without it going back to its spawn point
  2. What is the issue? Include screenshots / videos if possible!
    https://i.gyazo.com/ab731b0b00931aed4cf8f7b6c5654c09.mp4 the code works for other people when they input the code in their studio
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    the code works for other people so the only solution i could think of was to restart studio and it didnt work

heres the code

local walkInfo = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0, false, 0)
local rightWalk = {CFrame = RootPart.CFrame * CFrame.Angles(0, 0, math.rad(5))}
local rightTween = TweenService:Create(RootPart, walkInfo, rightWalk)