https://gyazo.com/2a5e18c3fe530033b704c66d107488d3 The link above contain the script and the output. I would like it if you guys can help me on this.
Minor issue: You have a typo where it should be Magnitude.
In this case, the error is quite literal. You cannot Add/Subtract 2 CFrames together, so when it sees a CFrame +/- ( A thing), it expects that thing to be a Vector3. Beyond that, however, you cannot call Magnitude on a CFrame, because it is a complicated object, not simply a vector. If you want the distance between two objects, and you have their CFrames, you can do (Object1CFrame.Position - Object2CFrame.Position).Magnitude
instead.