local currentShelfPos = script.Parent.Parent:GetPrimaryPartCFrame() print(currentShelfPos) local X = currentShelfPos.X local Y = currentShelfPos.Y local Z = currentShelfPos.Z script.Parent.Parent.Parent.Parent.AvailableCar[btn.Text]:SetPrimaryPartCFrame(CFrame.new(X,Y,Z))
So this bit works so far, it puts the car in the same position as the other car, How would I make it have the same rotation?
Thanks
local currentShelfPos = script.Parent.Parent:GetPrimaryPartCFrame() script.Parent.Parent.Parent.Parent.AvailableCar[btn.Text]:SetPrimaryPartCFrame(currentShelfPos)