When an Lua script is created, a Bespoke Event is also created called the same name as the Lua filename but with "Lua_" added to the beginning.
The Bespoke Event contains a unique Task that will run your Lua script. Note that this unique Task is not available in Detective, it is created automatically by the Lua Console.
Therefore, just like any other Bespoke Event, all "Lua_" Bespoke Events will appear in the Events for assignment to Components as an Event in Snippets & State Configurations.