Right now I'm making a game where at one point you get seated on a boat and after some time the boat moves away, but the problem is as soon as I move a seat the player stops sitting in it.
If there is a way to move the model with the seats in it properly then let me know, otherwise I could change the seats so you don't need to move the model, only the seats. But ofc I need to move the seats while the player remains in the seat.
Try using tweens: Using SetPrimaryPartCFrame() moves parts and seats along with players, if its a model.
local ts = game:GetService("TweenService") local destination = CFrame.new() -- put the destination position here, inside local info = TweenInfo.new( 1 -- time, Enum.EasingStyle.Quad, -- direction Enum.EasingDirection.Out, -- style 0, -- repeatcount false, -- reverses 0 -- delay ) local cframevalue = Instance.new("CFrameValue", script.Parent) local tween = ts:Create(cframevalue, info, {Value = destination} tween:Play() cframevalue.Changed:Connect(function() script.Parent:SetPrimaryPartCFrame(cframeValue.Value) end) tween.Completed:Wait() print("Tween done!")
Thats kinda how u do it! (Kind of)