Your set node is not connected in the graph, it should be connected between your timer out pin and the gates in pin, if not the variable will hold an empty value (null).
Your set node is not connected in the graph, it should be connected between your timer out pin and the gates in pin, if not the variable will hold an empty value (null).