0100000001d393bd9ec0ae669023ed698a6779fc76a9ec896cee18c9b1ff5a4aeefd2022c200000 0001976a9149cbb4f2710d94e57fb30cf4a65b7f721f3091f0f88acffffffff01e040ef2b000000 001976a91406af5a334371ee5eaf7f2efbc6551b155581954f88ac00000000
https://coinb.in/#verify brings me to
this 7.37 BTC transaction.
So my guess is:
He knew which addresses were yours, then he sent you a raw unsigned transaction. You signed it, broadcasted it, and gave $30k away
It's too late for you, but as a general warning:
you should never execute any code you don't understand on your computer!
The number of people keeping tens of thousands of dollars in an Electrum hot wallet also surprises me. Those wallets are just waiting to get scammed!
Following the money, it ended up
here,
here, and
here. Together with other inputs, it's now spread out over many addresses holding exactly 0.256 BTC. The money is probably mixed by ChipMixer, and you'll never find it back
All that's left for you is to provide evidence that Coolserver.host is behind it, but considering he's a Newbie, that account has no value to him anyway.