I was messing around YouTube and bumped into this video: https://www.youtube.com/watch?v=Vhkb9G2SyVw&ab_channel=Web3Tutorials
I tried the code and it let me run the bot on remix. After a day of it not producing any ETH i tried to withdraw the funds which was around 0.5 ETH. It came up with an error to say that i needed least 1 ETH at present market conditions. Wait for the market to cool down or fund the contract with more ETH. As i dont know anything about coding, i put another 0.5 ETH in to possibly be able to withdraw. Then it mentions that i now need at least 2 ETH which is strange and when i check the contract address the value of ETH is still in there but i dont know if i can be able to withdraw the ETH from the contract address i have created.
This is the code i used: https://pastebin.com/raw/GpRU5E6v
My contract address is https://etherscan.io/address/0x5729Ff0D0c1592a3ebb28C6880F25187eC0D466a/advanced#internaltx
Just to mention too, the failed transactions at the address is me trying to withdraw my ETH and paying the highest amount of gas fees to get my ETH back into my Metamask account. I have looked on YouTube to possibly see if i can retrieve it manually but on the 'Contracts' tab at the bottom it doesnt give me the option to 'Write a contract' so i can withdraw the fees directly but i assume that i cant as it is a smart contract and i need to verify and publish the code.
Any help is appreciated, Thank You.
Edit: Found out that is was a scam which is a lesson learned to not touch anything you dont understand. Thank you for the help Nal Luksic