Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I make a server wide admin shout system?

Asked by
KrizoXI 30
9 years ago

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.

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. Spongocardo 1991 — 9y
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. SurVur 86 — 9y
0
Posting your script(s) would be ideal. Discern 1007 — 9y

1 answer

Log in to vote
0
Answered by 6 years ago

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.

Ad

Answer this question