How To Get Data From Roblox To C++

Is there a way to get Data from roblox in c++? I want the player to enter their username in the c++ console and if theyre in the game, the c++ script will do its thing and retrieve data.

If there is any way to do so, please lmk

i’m not sure how you’d get the data back, but for requesting it you could use Roblox’s Cloud API, specifically MessagingService

i don’t think theres any way to send the data back directly to the application, what you could do is make a web api, send the data there and have the c++ app periodically requesting that api, check if the data is there, if its not, then wait a bit and check again, until the data has arrived.