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

updates the Gui of every single player?

Asked by
Neu_Dev 22
7 years ago

** So i have this problem that i try to make a countdown that should show to all players and choosing maps what so ever. but when i try to do this it only changes on a server client not on a local player, i know what's the problem but i just wanna know how access every single player to their player gui to do the best way possible **

01----VARIABLES
02Storage = game.ServerStorage
03Maps = Storage.MAPS:GetChildren()
04Teleporters = Storage.TELEPORTS:GetChildren()
05---GUI VARIABLES
06MainGui = game.StarterGui
07Anouncer = MainGui.MainUI.MainFrame.Anouncer.Frame
08Time = Anouncer.Time
09Chooser = Anouncer.Chooser
10Mode = Anouncer.Mode
11----WAITING FOR PLAYERS
12print("MainScript Loaded")
13while wait(1) do
14    if game.Players.NumPlayers > 1 then
15        Anouncer:TweenPosition(UDim2.new(0,10,0,145),"InOut","Quart",1,false)
View all 39 lines...
0
If youre using fe use a rempteevent to FireAllClients() to communicate to a local script to execute the necessary. Pejorem 164 — 7y
0
If this is not FE then don't use a local script, use a script inside ServerScriptService and don't use local player. BlackOrange3343 2676 — 7y

Answer this question