** 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 **

----VARIABLES
Storage = game.ServerStorage
Maps = Storage.MAPS:GetChildren()
Teleporters = Storage.TELEPORTS:GetChildren()
---GUI VARIABLES
MainGui = game.StarterGui
Anouncer = MainGui.MainUI.MainFrame.Anouncer.Frame
Time = Anouncer.Time
Chooser = Anouncer.Chooser
Mode = Anouncer.Mode
----WAITING FOR PLAYERS
print("MainScript Loaded")
while wait(1) do
	if game.Players.NumPlayers > 1 then
		Anouncer:TweenPosition(UDim2.new(0,10,0,145),"InOut","Quart",1,false)
		for i = 15,0,-1 do
			Mode.Text = "INTERMISSION"
			Time.Text = i
			wait(1)
		end
		Mode.Text = "Choosing Map:"
		MapChoose = math.random(1, #Maps)
		MapChosen = Maps[MapChoose]
		wait(3)
		Mode.Text = "Map Chosen:"
		Chooser.Text = MapChosen.Name
		wait(5)
		MapClone = MapChosen:Clone()
		MapClone.Parent = workspace
	else
	Mode.Text = "N/A"
	Anouncer:TweenPosition(UDim2.new(0,10,0,145),"InOut","Quart",1,false)
	Mode.Text = "Waiting For Players"
----CHOOSING GAMEMODE
----GAMEMODE CHOSEN
----GETTING PLAYERS
----TELEPORTING PLAYERS
	end
end

2 comments

0

If youre using fe use a rempteevent to FireAllClients() to communicate to a local script to execute the necessary.

0

If this is not FE then don't use a local script, use a script inside ServerScriptService and don't use local player.