Start Wireshark from the command line using: wireshark -X lua_script:my_feature.lua
Wireshark requires specialized permissions to capture traffic, specifically for the dumpcap program, which handles the actual packet capture. Wireshark Linux
What are you using (e.g., Ubuntu, Kali, Arch)? Start Wireshark from the command line using: wireshark