Be careful running these MSM tools. A lot of them have injected ransomware. If you wanna try them I would recommend running them on virtual machine to protect your PC.
By default MSM requires factory license verified over the network. As of now there is no freeware solution for hard bricks (locked bootloader bootloop). Softbricks with unlocked bootloader can be fixed easy with fastboot.
You may be better off contacting Realme support, so your local authorized service can fix it under warranty.