For example if my game changes map, how do I make a GUI pop up on every player's screen saying the map name, and then deleting the GUI seconds later? (How to make the GUI pop up from a server script) I don't think it's remote events or remote functions?
(The game is FE)
You can use RemoteEvent
s to tell the clients to unhide a gui with the message and change its text, and also after how many seconds it should hide it again.
Example:
Server:
local msgRemote = Instance.new("RemoteEvent") --or do it in explorer msgRemote.Parent = game.ReplicatedStorage msgRemote.Name = "msgRemote" --when displaying a message for 5 seconds: msgRemote:FireAllClients("Game will start in 5 seconds! Prepare!", 5)
Client:
local msgRemote = game.ReplicatedStorage:WaitForChild("msgRemote") local gui = script.Parent msgRemote.OnClientEvent:Connect(function(text, time) gui.Visible = true gui.MessageLabel.Text = text wait(time) gui.Visible = false end)