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

How Do I Use DataStores To Update A Gui Across Servers?

Asked by 4 years ago

Hi There, Can You Help Me With This As I Have Never Even Used DataStores Before And I Need Them To Send a Update To a Gui Across Servers But Again As I Said I Have No Experience With DataStores And This Will Be My First Time Using Them. Can Someone Please Help Me? Thanks.

1 answer

Log in to vote
0
Answered by 4 years ago

Dont use datastores. Use MessagingService, its made for this exact purpose. You can use SubscribeAsync to bind a function and PublishAsync to call said function with arguments across servers.

0
can i also use this to send it across games? if not then is there a way to do that? mahid786 41 — 4y
0
@mahid786, you cannot use it to send info across games, only servers in the same game. I dont believe there is a way to send data between games apart from teleport data with teleportservice but that requires a player to be moved to a different game. plzdonthitman 3 — 4y
Ad

Answer this question