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

How to Publish ServerWide Messages?

Asked by 8 years ago

I always wondered how to do this. I think it has to do something with "_G.".

Like this?

_G.Svrmsg = Instance.new("Message")
Svrmsg.Text = "HAHHAHA I JUST DELETED UR STATS TROOLOL"
Svrmsg.Parent = workspace

please correct me if I am wrong.

1 answer

Log in to vote
1
Answered by 8 years ago

There are many ways to go about this. I'd recommend setting one base variable in a datastore and each time it changes, to post that.

I've open-sourced an example for Scripting Helpers:

http://www.roblox.com/games/286054049/Cross-Server-Example#!/game-instances

Ad

Answer this question