How to make Part rotate fully

I know this topic looks kinda silly, but I want a part to flip it’s direction but I don’t know how

I want the Wave to look like this:


(The wave is the red thing)

But instead it looks like this:

part of the script:

	local Wave = Meshes:WaitForChild("Wave"):Clone()
		Wave.CFrame = Inner.CFrame * CFrame.new(0,0,-2)
		Wave.Size = Vector3.new(25,25,30)
		Wave.Anchored = true
		Wave.Parent = Folder
		print(Player.leaderstats.Skill1BeamColour1.Value..",",Player.leaderstats.Skill1BeamColour2.Value..",",Player.leaderstats.Skill1BeamColour3.Value)

		spawn(function()
			while wait() do
				Wave.Orientation = Vector3.new(0,180,0)
			end
		end)

You’re using a while wait() do loop that keeps changing the orientation of the wave to 0,180,0. Try changing it to the orientation of the blue beam.