Help on Getting a Cloned Characters Position on a Certain Point

I’m working on a quick Pathfinding thing for enemies to spawn and just walk to the end, I basically clone the enemy every 10 secs to get their humanoidrootpart position onto the start point so they start there but I keep getting a error saying “Position cannot be assigned to”

while true do
	local EmmaClone = Enemys.Emma_Enemy:Clone()
	EmmaClone.Parent = TestMap.CurrentEnemies
	EmmaClone.HumanoidRootPart.CFrame.Position = TestMap.walkpoints.SpawnPoint.CFrame.Position
	wait(10)
end

Change:

EmmaClone.HumanoidRootPart.CFrame.Position = TestMap.walkpoints.SpawnPoint.CFrame.Position

to

EmmaClone.HumanoidRootPart.CFrame = TestMap.walkpoints.SpawnPoint.CFrame

You can’t set CFrame.Position directly.

1 Like

Thanks!, It works perfectly fine, don’t know what I would do without Devforums!