Disable specific roaming animals but not player spawned

So here’s my ‘situation’, if you will. I am looking for a script or a modification of a script of some sort which will disable only a certain AI from spawning, specifically a deer, from spawning wildly but can be player spawned. Any ideas will be appreciated, thanks.