There is no prayer mechanic, so the convention is simply to type it. Entering an asterisk-wrapped action like *prays* is how players express it, and other people in the game read it exactly as intended.
This is standard practice across Roblox roleplay games generally. The platform has no animation or emote system broad enough to cover every action a roleplayer might want, so the text convention fills the gap.
If you want a visible effect, some roleplay games do include emote menus with kneeling or bowing animations, so check whether the specific game you are in has one.