Even if the hack is not detected, servers can detect inhuman movements (e.g., locking onto 5 people in 1 second, perfect tracking through walls).
How to spot people using hacks (aimbot, flagging as friendly)
"Get a PC, Leo," the voice chat would jeer as he missed another headshot. "Your computer is made for coffee shops, not combat."
Windows has well-known cheat engines like Cheat Engine with driver-level access. On macOS, similar low-level memory editing requires disabling SIP, bypassing DTrace restrictions, and dealing with Apple's increasingly locked-down approach to process management.
If you want, I can:
