I'm trying to make a chariot with a specified location, but only one part moves and I tried using ":GetChildren()" but I really have no clue how to use it... So thanks if you can help.
local tweenService = game:GetService("TweenService") local clickDetector = workspace:WaitForChild("Clickmebutton").ClickDetector local seconds = 120 clickDetector.MouseClick:Connect(function() tweenService:Create(script.Parent.Parent:GetChildren(), TweenInfo.new(seconds, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {CFrame = CFrame.new(101.737, 1.527, -299.772)}):Play() end)
I'm a bit of a noob, so please go easy on me!
Group it all, set a primary part, then set the primary part cframe via tweenservice (or CFrame:lerp().)
https://wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame https://wiki.roblox.com/index.php?title=API:Class/Model/GetPrimaryPartCFrame https://wiki.roblox.com/index.php?title=API:Class/TweenService https://wiki.roblox.com/index.php?title=CFrame