Trying to move a block's CFrame

I want to move the blocks lower and around the player.
Here is a link to where the blocks are located:

I’ve tried multiplying the CFrame with another one and it still won’t move. I also removed Locked.

game.Players.PlayerAdded:Connect(function(Player)
	local Character = Player.Character or Player.CharacterAdded:Wait()
	local Humanoid = Character.Humanoid
	local Root = Character:FindFirstChild("HumanoidRootPart")
	
	local Amount = math.random(10,15)
	
	for i = 1, Amount do
		print("Instancing")
		local Rock = Instance.new("Part")
		Rock.Anchored, Rock.CanCollide = true, false
		Rock.Locked = true
		Rock.Name = "GroundRock"
		Rock.Parent = game.Workspace

		local RandomMulti = math.random(80, 120)
		Rock.Size = Vector3.new(3, 3, 3) * RandomMulti/100
		Rock.CFrame = Root.CFrame * CFrame.Angles(0, math.rad(360/Amount * i), -10)

		Rock.CFrame = Rock.CFrame * CFrame.new(0, -Rock.Size.Y/2, 15) 


		local NewCFrame = Rock.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)))
		
		print("Finished instancing")
	end
end)

I’m rewriting a module my friend gave me.

	local Root = Character:FindFirstChild("HumanoidRootPart")

local Amount = math.random(10,15)
local p = Instance.new("Part", workspace)
p.CanCollide = false
p.Anchored = true
p.CFrame = Root.CFrame

Do this under your “Root =” line and you’ll see the characters root part is not originally at the spawnpoint.

1 Like

Thank you I solved it now, I had to add a wait since the root isnt a spwanpoint until they find a root.