(this will only work for admins since it involves the /invisible command)
I don’t know why I haven’t told people this before. But this happened to me once when I aimbotted (long long ago).
There was an admin who was invisible. He stood close by me and I shot at him (because the ESP showed his position). At first I was like “What the heck there is no guy there”
But then I realized who it was and was like WOAH.
Like Korakoff said, the ESP shows you spectators posistions(I’ve used aimbot on my server), but you cant snap at them. So it’s pretty obvious when someone keeps looking at you while you spectate.