Script error on momentary button

Duplicate post. Try to not do that. See answer over in the first topic: