How do you remove a script once its entered?

So Im having an issue where holding my right mouse button down to look while moving keeps randomly letting go for some reason or it takes a couple clicks to “grab ahold”. I saw a ton of other people are having the same issue and one suggestion was to enter this script /run GroupLootContainer:Hide() to fix it. Well it didnt fix it and now whenever I right click my character runs to that spot and I cant figure out how to undo it.

BTW it didnt fix my issue, it still happens. I tried installing mouse drivers, using that script above, turning off hardware accleration for browser and nothing works. I tried to uninstall and reinstall the game but the problem persists and that script it still running.

If you’re trying to get the frame back, you’d want to run

/run GroupLootContainer:Show()