CFrame jumping back to original CFrame?

local elfUpdate = folder["Elf".. (elfcount + 1)]
elfUpdate.Parent = workspace.ElfForHire
elfUpdate:SetPrimaryPartCFrame(workspace.ElfSpawn.CFrame)

This is the code I have no other code changing the position of the elf. The problem is when I :SetPrimaryPartCFrame(), it jumps to that CFrame but then jumps back to the CFrame that it originally had.

Is it the order I’m setting the code?

  1. I would parent the elf after setting the CFrame.
  2. Are you setting the CFrame on the client instead of the server?
  3. Triple check that there is no other script changing the CFrame of the elf. (even a script inside the model)
1 Like