Tween has no property named part

Hola!

Whenever I try and tween to a position I receive the Create no property named ‘Position’ for object “Stretcher”

I have an opening and closing position the open one being transparent but I am clueless.

local customizationTween = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)


local tween = TweenService:Create(Strecther, customizationTween, {Position = Motor6DStretch.OpenPos})
1 Like

I believe you have mispelled Stretcher.

Updated code:

local customizationTween = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)


local tween = TweenService:Create(Stretcher, customizationTween, {Position = Motor6DStretch.OpenPos})

I do not think the spelling is the issue in this case, its more it won’t actually got to this position.

  17:23:11.036  TweenService:Create no property named 'Position' for object 'Strecther'  -  Server - Controller:16
  17:23:11.036  Script 'Workspace.Mercades Sprinter Ambulance.Misc.RearLeftDoor.Controller', Line 16  -  Studio - Controller:16

What is Strecther? Did you atleast try the code I have sent above?

Yeah I tried the above, it is a like bed, we have a folder for an position where it should go when you press one click detector, then one for the closed pos when you press the other click detector

Is it a model or a part? A model doesn’t have a position you should use model.PrimaryPart

1 Like

We done a test one that is in workspace it works but as soon as it goes into the vehicle the part that holds the welds goes straight to the car seat, when it shouldn’t.

I didnt quit understand that.

Charsssssss

Hey all!

I fixed it, I had a Motor6D Attached to it and it kept it in place and it moves correctly now, thank you all for the help!