Why my tween doesn't works?

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)

i already fixed my problem, my friend have been helped me, and i just forgot to put Play in tween!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.