This is something known as lookVector
script.Parent.CFrame = CFrame.new(v,l)
v would be a vector3 value that says where the brick's position is
l is another vector3 value of where the brick points
example
a = Instance.new("Part")
a.Parent = workspace
a.Anchored = true
a.CFrame = CFrame.new(Vector3.new(10,10,10),Vector3.new(0,0,0))
|