Group doesn't move to new CFrame position when setting a new primary part

I have a group of parts I want to move into position to be in an arena, but when I do the SetPrimaryPartCFrame(), it makes the part I want the PrimaryPart, but the group doesn’t move to it’s CFrame.

–Code to set CFrame
game.Workspace.PurpleLevel:SetPrimaryPartCFrame(game.Workspace.PurpleLevelPrimaryPart.CFrame)
Group’s properites
Screenshot 2022-11-14 194637

PrimaryPart’s Properties

Can you show more info, this isn’t a lot to work with.

but some Questions:

  • What Part is the PrimaryPart?

  • Are you sure you are applying the Correct PrimaryPart to the Model?

  • Can you show a Image or video? (.mp4 perferably)

Make sure you surround your code block with ```

The Primary Part is something inside of the grouped objects called PrimaryPart. I am trying to change the Primary Part to be PurpleLevelPrimaryPart, and the move the group to the CFrame of PurpleLevelPrimaryPart

I get that but provide more details, this is just the same thing from the Topic

What details exactly do you need?

Bruh, By more details i mean:

  • The Entire Code Block

  • Video or Image of the Issue

What you are showing isn’t enough to help

local MapLoaded = false
game.ReplicatedStorage.MapChooserServer.OnServerEvent:Connect(function()
	local randomNum = math.random(1,3)
	print("-------------------------------")
	print("Function ran")
	print("-------------------------------")
	if randomNum == 1 then
		print("YellowLevel Selected")
			MapLoaded = true
			game.Workspace.YellowLevel:SetPrimaryPartCFrame(workspace.YellowLevelPrimaryPart.CFrame)
			while MapLoaded == true do
				game.ReplicatedStorage.LavaEventServer.OnServerEvent:Connect(function()
					MapLoaded = false
				end)
				wait()
			end
			game.Workspace.YellowLevel:SetPrimaryPartCFrame(workspace.YellowLevelUnloaded.CFrame)
	else if randomNum == 2 then
			print("BlueLevel Selected")
				MapLoaded = true
				game.Workspace.BlueLevel:SetPrimaryPartCFrame(workspace.BlueLevelPrimaryPart.CFrame)
				while MapLoaded == true do
					game.ReplicatedStorage.LavaEventServer.OnServerEvent:Connect(function()
						MapLoaded = false
					end)
					wait()
				end
				game.Workspace.BlueLevel:SetPrimaryPartCFrame(workspace.BlueLevelUnloaded.CFrame)
		else if randomNum == 3 then
				print("PurpleLevel Selected")
					MapLoaded = true
					game.Workspace.PurpleLevel:SetPrimaryPartCFrame(game.Workspace.PurpleLevelPrimaryPart.CFrame)
					while MapLoaded == true do
						game.ReplicatedStorage.LavaEventServer.OnServerEvent:Connect(function()
							MapLoaded = false
						end)
						wait()
					end
					game.Workspace.PurpleLevel:SetPrimaryPartCFrame(game.workspace.PurpleUnloaded.CFrame)
				end
			end
		end
	end)
		
	wait()

Oh Yeah, can you also show the Output? There it will help you catch errors

Hope these things are enough to narrow down the issue

The video will show you what the outputs are