How do i use tween on Model not part?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Hello, i wanna move my model and not part of it(because it is dummy so i can’t move it’s head properly), so i ask how to do that

  2. What is the issue? Include screenshots / videos if possible!
    Issue is: i can’t use primary part bec i don’t have main part in dummy, so i can’t move it fully

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tryed to add a special script to head and body, but it’s big and works bad

Script1:

local TweenService = game:GetService("TweenService")

local Driver = script.Parent.Noob
local Car = script.Parent.Union

local goal1 = {}
goal1.Position = Vector3.new(-88.522, 3.772, 306.081)
goal1.Color = Color3.new(0, 1, 0)

local goal2 = {}
goal2.Position = Vector3.new(-160, 3.772, 234.186)
goal2.Color = Color3.new(0, 1, 0)

local tweenInfo1 = TweenInfo.new(5)
local tweenInfo2 = TweenInfo.new(5)

local tween1 = TweenService:Create(Car, tweenInfo1, goal1)
local tween2 = TweenService:Create(Car, tweenInfo1, goal1)
wait(4)
tween1:Play()

wait(2)
repeat
	Car.Orientation += Vector3.new(0,1,0)
	wait(0.05)
until
Car.Orientation == Vector3.new(0,45,0)

Script2:

local TweenService = game:GetService("TweenService")

local Driver = script.Parent.Noob
local Car = script.Parent.Union

local goal2 = {}
goal2.Position = Vector3.new(-165.884, 4.011, 228.462)
goal2.Color = Color3.new(0, 1, 0)

local tweenInfo2 = TweenInfo.new(5)
local tween2 = TweenService:Create(Car, tweenInfo2, goal2)
wait(8.3)
tween2:Play()
wait(2)
repeat
	Car.Orientation -= Vector3.new(0,1,0)
	wait(0.05)
until
Car.Orientation == Vector3.new(0,0,0)

So anyone have ideas or no? (30 letters)

A post has been made specifying this concern.

Hmmm, that’s helpful amma test it thanks

1 Like

I’m not sure, but maybe weld the parts to the middle of the thing you want to move. (I suggest you use Weld Constraints because it dosen’t attach to the CFrame of the parts). Also, I’m not sure if welding it works because nobody has talked about it. But maybe it will who knows? :thinking: