This code is picky and you may have to manually activate the script by running the execute block under the my blocks tab
https://www.tinkercad.com/things/9RiRnxGTQNs/editel?sharecode=heQ_0svu6JscYej1GMnO8UegpSIDLPjOjfkAPhQ6X6o