Problem with Deploying bombs

hi i have made a scripts for bombs.there are 3 of when i have at least one bomb picked up and i havent laid a bomb I can instantiate it and it destroys enemies nearby.So i have script for bomb,bomblaid and pickupbomb.I defined bomblaid in bomb script but everytime when i trry to acces is by doing laybomb.bombLaid = false; it says object not set to an instance so yeah i could use some help.

is bombLaid a public static bool or is laybomb something you are referencing?

try making bombLaid a public static bool to use laybomb.bombLaid without needing a reference or going through those getComponent()<> shenanigans