For some reason the second argument for CFrame doesn't work

Hello there! These lines don’t change where my part is looking for some reason. Script:

game.ReplicatedStorage.Remotes.WallEvent.OnServerEvent:Connect(function(plr, char)
	
	local wall = game.ServerStorage.Wall:Clone()
	
	wall.Parent = workspace
	
	print(char.HumanoidRootPart.CFrame.LookVector)
	
	wall.CFrame = CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.CFrame.LookVector) --This is the part where it doesn't work
	
	print(wall.CFrame)
	
	local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 0, false)
	
	local tween = game:GetService("TweenService"):Create(wall.Wall, tweeninfo, {Size = wall.Size + Vector3.new(0,18.04,0)})
	
	wait(3)
	
	tween:Play()
end)

Explorer:
image

Any help is appreciated, thanks! :slight_smile:

Its close, you want to set the position of the wall in-front of the player. so put the look vector first then the players position.

Also add a little bit to the look vector, at the moment the player may be looking in a direction but if its still the basic look vector it will spawn in the player.