Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I make a server wide admin shout system?

Alright, I already have basics laid out, but I went and tried it - no result. I'm trying to make a system where admins can send messages across servers and they'll appear on everyone's screen, such as "The game is currently being updated. You may experience a shutdown or large amounts of lag."

Well, I tried tons of solutions like an auto-updating script that has a variable and every 10 seconds checks if the variable is true then it sends out a message in the script.

I also made a SurfaceGUI and attempted to also do an autoupdate. No result.

No result. Yes, I already know basics and how the GUI works, I just need to know the best way to go about this, and I do need a little bit of help doing those parts.

3 comments

0

If it's a cross-server shout system, you'd need to use HTTPService and use PostAsync to send the shout to the site and then use GetAsync to continuously check if there is a shout or if the shout has been changed. Note that HTTPService throttles requests so you may need a wait in between using HTTPService methods.

0

Actually, I use DataStores for my system. I update the data store with a string value (the message to be said), and in each server, there's a script that will use the :OnUpdate() function. It'll detect that and then it'll show a message.

0

Posting your script(s) would be ideal.

1 answer

Maybe try putting the shout in a string value and putting the string value into Serverstorage and after running a while true do script saying:

while true do:
	game.ServerStorage.StringValue.Value = game.StarterGui.{Your Gui}.{Your Frame}.{Your Text label}.Text
end

The only thing i dont know is that you must convert String value to put in the text.

This discussion is preserved as it was. New answers, comments, and votes are closed.