How to fix parts in models not showing up after being cloned

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
image

After being cloned
image

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

Instead of using MoveTo: try using PivotTo:. Just a thought.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.