local plr = game.Players.LocalPlayer block = Instance.new("Part") block.CFrame = CFrame.new(plr.Character.Head.Position) --yes
You were pretty close, but block.CFrame = CFrame.new(plr.Character.Head.Position)
doesn't work because those are two incompatible values. Instead all you have to do is take the X, Y, and Z values of the head and use those instead.
Also, when spawning something using Instance.new
don't forget to set its Parent!
local plr = game.Players.LocalPlayer block = Instance.new("Part") block.Parent = game.Workspace block.CFrame = CFrame.new(plr.Character.Head.Position.X, plr.Character.Head.Position.Y, plr.Character.Head.Position.Z)