Issue with CFrame positioning with a laser beam with Offset Rotation

Alright so I’m making a laser attack for a boss, it’s just supposed to get the Position from the firing point to a target and then get the Magnitude to edit a Scale.

I’ll get straight to the point, all of it works fine except it has a 90 degree offset from it’s correct rotation.
I tried using * CFrame.Angles() to realign it but it isn’t quite working how I wanted it to and I’m not quite experienced enough with offsetting CFrame rotations in order to correct it.

Oh and here’s an image of the laser being rotated 90 degrees incase that’s any help at all:

alright turns out all it took was setting math.rad(90) in the Y axis of CFrame.Angles().