2 bot Script spawning

So I have a game and I want 2 bots to spawn so like a bot then the thing that goes after you but when its player mode like piggy how do I make it so you won’t take damage and it won’t go after you.

But what is your problem; do you have code?

The issue is when I try to make it so the bot/player has forcefield it won’t work