Anti Grief and Anti team kill

Hello, I am trying to make an “Anti Grief” and “Anti team kill”

Thing is I do not know how to script a Anti Grief or Anti team kill, I think it is a little bit too hard because of the way I think when I script

What I mean for Anti Grief is basically a script where a player cannot destroy their own base or a team cannot destroy their own base with there weapons

We can not help you since you haven’t provided any additional context. We don’t know the structure or architecture of your game, nor have you provided any code samples.

hmm, my game is like a doomspire game

the players have rockets and little bombs

I don’t have code samples at the moment because I can’t really see or plan how to script this code

and there is 4 different teams and 4 different towers