How would I kill players when they are crushed?

I’ll give this a shot but what about none linearly-moving objects? How about something like a large wheel or gear?