Why can't I apply this?

You can’t apply because you are using a "construction script ". For resolve the problem of gun you need to put in location rule “snap to target”