It depends entirely on the gear you are holding. The Staff of Gloomy Grip is one item that lets you lift and carry other players.
Most Roblox games do not allow this at all — physics interaction between avatars is a per-game setting, so in a lot of places the answer is simply that you cannot. Where it is enabled, you need the specific tool that grants the ability, and it will be listed in the game's shop or gear menu.