Can confirm for release 1.19
How does that script work exactly?
If you play with OptiFine, you must choose your key, to save the toolbar, in your settings, control. Because you can't use one key (c) for 2 actions. I use the 'y'-key instead.
Can confirm for release 1.19