Target players in server side Lua

I am absolute trash with server-sided Lua.

How can I target a certain player in things like, for example, Entity:SetBodygroup()?
Any help is appreciated, thanks.

You need to identifying two things when targeting a player serverside:

  1. When do you want to target them?
  2. Who do you want to target?

Oh? How do I do this? Is there a wiki page I missed showing how?

These are questions you need to be able to answer; if you want to set the entity’s body group, you can’t just do it out of the blue on random people. Do you want this to apply for all players at once? If so, when they spawn? These are examples of answers to those questions.