Best way to convey product arguments

Sorry, totally forgot to answer the basic question here because I was thinking big picture.

You’ll need the player’s client to submit the user ID of the recipient and also which gift, although that can just be a separate product. You can do this with a RemoteFunction, so the client gets acknowledgement that the server knows where their next gift will go. It’s probably a good idea to store information about a gift in data stores so if the game has to retry, it knows where to send things, but only after the server can confirm the gift isn’t deliverable by itself (eg, recipient is in another server).

tl;dr: Gift giving is hard. Roblox doesn’t have API for this that makes it easy. Sorry there’s no better answer :frowning:

1 Like