Trigger(NEW_DAY_TRIGGER, 2);
But the console says I have an error.
(Script) ERROR: expected;
last token read `2' at line 1 in string "parse"
"The last thing I managed to read before the crash was the number 2."
And the reason is slightly higher, because the new day trigger expects a string with the function name as the second parameter, but you have a number 2 there.