How to detect when a new server starts in roblox?

I’d like to detect when a new server opens up for the first time in my game.

I have looked up solutions in the forum but haven’t found anything so far

Detect from where exactly…?

All scripts run when the server starts up, so for example you can send a Discord webhook when a server starts up if that’s something you want

If you want to detect it from outside of Roblox, you can just send a HTTP request to a custom endpoint upon server startup then do whatever you need to from there

1 Like

Sorry for not being clear enough in the first post lol, thats something i should work on. What i mean is that, i’ve been trying to make a function run once as soon as a new server is started, but I’m unsure how to even detect when the server is started.

If you’re trying to communicate to other servers when a server has started you can use messaging service and have a script that just sends a message. (all scripts start running once the server has started so all you have to do is write the code and it’ll automatically run once the server starts)

2 Likes

Alright, thank you, that worked!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.