DISCLAIMER IT MAY NOT WORK SOMETIMES Please share this with others if you liked it! :D
Thanks to @Rohan_Programing for the help with the code!