Ok so I am trying to clone a nextbot that gets cloned from replicated storage to workspace and the pathfinding system I use uses the primary part in the model. The thing is when the model gets cloned, all the parts in the model don’t show up.
Heres a unfinished forum about the issue
On run
After being cloned
Heres the script
local randomIndex = math.random(1, #spawns)
local randomTeleportPart = spawns[randomIndex]
local newPosition = randomTeleportPart.Position
local randomTeleportPart = spawns[randomIndex]
local newPosition = randomTeleportPart.Position
if randombot == 1 then -- dont worry about the random bot variable its for something else
local bot = ReplicatedStorage.Nextbot1:Clone()
bot:MoveTo(randomTeleportPart.Position)
bot.Parent = workspace
wait(30)
bot:Destroy()
end