Whats is wrong with my code?
runService.RenderStepped:Connect(function(delta)
if (main.data.aim) and main.data.aim == true then
local x, y = workspace.CurrentCamera.CFrame.Rotation:ToEulerAnglesYXZ()
local newCF = CFrame.new(plrs.LocalPlayer.Character.Humanoid.RootPart.Position) * CFrame.Angles(0,y,0)
self.Tween(plrs.LocalPlayer.Character.Humanoid.RootPart, 0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 0, false, 0, { CFrame = newCF })
end
end)