Hello,
I am trying to make a part go up and down for a locker, it would in workspace and but when I put it into a vehicle with chassis’ it breaks. I currently have it inside body
Does the chassis use a weld script? if yes you will need to edit the weld script CFrame for the tween to work
I think it does have a weld script. I would need help editing for the CFrame stuff.
Heres how you can edit the weld using CFrame.
The weld script automatically creates weld and yours might be named differently so you should double check when play testing. Be sure to use a for i, v in pairs loop to find all the welds of the object you want to tween.
local weld = v:FindFirstChild("qCFrameWeldThingy")
ts:Create(weld,tweeninfo,{C1 = CFrame.new(weld.C1.Position) + Vector3.new(0,-0.33,0.3)}):Play()
Hope this helps!