Hello.
Can someone please help me with moving a model with it’s primary part?
In this code:
local r = script.Parent.RemoteEvent
local function Launch()
local carrier = workspace.RedShips.RCV
local t = carrier.FighterTakeOff
local f = game:GetService("ReplicatedStorage").RedFighter
local fighter = f:Clone()
fighter.TIMER.Disabled = false
fighter.PrimaryPart.Position = t.Position
fighter.PrimaryPart.Orientation = t.Orientation
fighter.Parent = workspace.RedPlanes
end
r.OnServerEvent:Connect(Launch)
The plane isn’t getting moved nor is it’s orientation getting changed
As a heads up, Model:SetPrimaryPartCFrame() has been superseded by Model:PivotTo(), which is essentially the same but with additional functionality and less unexpected behavior.