Tween script not working with no errors

I don’t know what is happening, and I don’t know how to fix it. I have been trying to fix it but with no effect… help.

1 Like

Hi, Sashogb.

Looks like you’ve got the right idea from the screenshot, but if you could paste and format the code in a reply or your original post, it would be much easier to read and help out.

Thanks.

local TweenService = game:GetService(“TweenService”)

local tweenInfo = TweenInfo.new(
1, – Time
Enum.EasingStyle.Quad, – EasingStyle
Enum.EasingDirection.Out, – EasingDirection
0, – RepeatCount (when less than zero the tween will loop indefinitely)
false, – Reverses (tween will reverse once reaching it’s goal)
0 – DelayTime
)
wait(3)

local tween = TweenService:Create(script.Parent, tweenInfo, {Position = -18.865, 2.554, -20.696})
tween:Play()

wait(1)

local tween2 = TweenService:Create(script.Parent, tweenInfo, {Position = -17.968, 2.838, -13.777})
tween2:Play()

wait(1)

local tween3 = TweenService:Create(script.Parent, tweenInfo, {Position = -17.968, 2.838, -11.59})
tween3:Play()

wait(1)

local tween4 = TweenService:Create(script.Parent, tweenInfo, {Position = -17.968, 2.838, -11.59})
tween4:Play()

local tween1 = TweenService:Create(script.Parent, tweenInfo, {Rotatoion = 2.91, -110.82, -6.41})
tween1:Play()

Put those numbers in the position to a vector3

1 Like

and rotation too (which should be called orientation?)

Looks like you should replace

Position = -18.865, 2.554, -20.696

with:

Position = Vector3.new(-18.865, 2.554, -20.696)

For each Tween. In addition, “Rotatioion” is not a valid property of a part.

1 Like

OMG I forgot… and the rotations works as well.

but theres a grammarly error in rotation