workspace:BulkMoveTo() Not Working!

  1. What do you want to achieve? I want to use workspace:BulkMoveTo() to move parts using CFrames instead of using part.CFrame

  2. What is the issue? workspace:BulkMoveTo() doesn’t work when i use it. The parts and CFrames tables are correct and it still wouldn’t work. it doesn’t throw an error.

  3. What solutions have you tried so far? I’ve tried to print those two tables and it gave me this:

{[1] = Head,
[2] = Head}

{[1] = -52.6448021, 4.42675638, 22.3263283, 0, 0, 1, 0, 1, -0, -1, 0, 0,
[2] = -52.6448021, 4.42675638, 22.3263283, 0, 0, 1, 0, 1, -0, -1, 0, 0}

The Client Script:

local B = Enum.BulkMoveMode.FireCFrameChanged
game.ReplicatedStorage.EnemyRemote.OnClientEvent:Connect(function(Data)
	local BatchParts = {}
	local BatchCFrames = {}
	for i,v in pairs(Data) do
		--Enemy[v[1]].Model.CFrame = v[2]
	    table.insert(BatchParts,Enemy[v[1]].Model)
	    table.insert(BatchCFrames,v[2])
	end
	print(BatchParts)
	print(BatchCFrames)
	workspace:BulkMoveTo(BatchParts,BatchCFrames,B)
end)

Note: using Enemy[v[1]].Model.CFrame = v[2] works fine

Are you using ONLY BaseParts in BatchParts? BulkMoveTo also does not work if you have less CFrames than parts in the list.

1 Like

They are all BaseParts and same amount of CFrames. I probably think its a engine bug. Thanks for replying tho! :heart: