Problem When Attempting To Tween The Character

Hey, It’s Army again. :sweat_smile:
I’ve been trying to tween the character, but I’m having trouble doing so. So far, everything seems to work with 1 error (which I also need help clearing), but when it actually tries to tween, my camera gets stuck in the sky and my character crazily whirls around in circles.
This isn’t even a joke too, look:

And if I press a movement key, the character just glides sideways:

Could anyone help me? Here’s the code I used:

local LocalPlayer = game.Players.LocalPlayer
local Character = game.Workspace:WaitForChild(LocalPlayer.Name)
local Hum = Character:WaitForChild("Humanoid")
local PrimaryPart = Character.PrimaryPart

local TweenService = game:GetService("TweenService")

local Animation = Hum:LoadAnimation(script:WaitForChild("Animation"))

local TweenInfo1 =
local TweenOutcome1 = {
	Position = Character.PrimaryPart.Position +, 10, 0)
local MoveCharacter = TweenService:Create(PrimaryPart, TweenInfo1, TweenOutcome1)





Am I doing somthing wrong? Please let me know, any help is appreciated. :smiley:

You are trying to tween the HRPs position not its CFrame this causes this crazy movement because the HRP does not move with the character when you change its position.

1 Like

Well, when I tried to move it with Cframe, I couldn’t get the goal to work, as there was an error when trying to use PrimaryPart.Cframe (It said it wasn’t a valid thing) and I couldn’t use position and Cframe.

Are you spelling it Cframe or CFrame?

EDIT: using your script above you can do something like this:

local TweenOutcome1 = {
	CFrame = Character.PrimaryPart.CFrame +, 10, 0)
1 Like