Is there any way to send smt from a python script to a specific Roblox game (server) and get the massage there?
Or is it against the ToS?
Is there any way to send smt from a python script to a specific Roblox game (server) and get the massage there?
Or is it against the ToS?
No - at least, not in the way you phrased the question.
For security sake, you can’t send HTTP requests to a Roblox game server.
Not to be confused with Roblox’s web API - those are two different things.
You can do the opposite though, where you send requests from your game server to another server that you’re hosting said Python script in.
The trick here though, is to implement long polling; you make the thread that’s making the request to your Python script yield as long as possible until a result can be returned, in which case that thread stops and you get yourself a result.
In implementation, it’ll be you making a request to your script from a game server.
In practice though, it’ll look and feel like the opposite.
And can I ask what you’re trying to do exactly? Why would you need to interact with your game servers externally?
EDIT: Someone suggested the MessagingService Open Cloud API. That’s a better idea than mine, do that instead.
I’m sure it is possible using Open Cloud API with MessagingService
I want to connect my guilded server with the game. E.G a user can get transfer money to the server and back. When my bot cant send smt to the game-server the user needs to copy a number [For verification security] and pastes it. When the bot sends it the user dosnt have to do anything but clicking a button.