I’m trying to clone a car model from a folder in ReplicatedStorage to the Workspace. When cloning it gets rid of all the meshes and scripts in the car.
Model in ReplicatedStorage:
Model cloned in workspace, missing Body and Scripts
I’ve tried looking for topics with the same issue but can’t find any.
Here’s the code that spawns the car.
local ev = game:GetService("ReplicatedStorage").Events.SpawnCar
local spawns = game.Workspace.CarDealerSpawns:GetChildren()
function spawnCar(player,s)
local car = s:Clone()
car.Parent = workspace
local cfspawn = spawns[math.random(#spawns)]
car:PivotTo(car:GetPivot() + cfspawn.Position)
end
ev.OnServerEvent:Connect(spawnCar)
Did you ever find more information on this? I’m having a similar issue, where I’m attempting to clone something from storage, and I’ve recently ran into a very strange issue where sometimes the parts within the model aren’t loading all of a sudden. Was wondering if there is a relation, or completely different…