am trying to make a gui where the player gets a question saying Join Battle and I want it to pop up at the same time for everone regardless of when they joined the server can u give me a hit on how I can do it
COMMUNITY QUESTION
how do i make a yes no gui that pops up at the same time for everyone in the server?
1 answer
Hey sjskunice, this is a rather easy thing to achieve. If you desire to do this you would use a fire all clients function, this will fire to all the players (clients). I'll give you an example:
- First add a' remote event' to workspace.
- Write the script in workspace.
function FiringEvent() workspace.RemoteEvent:FireAllClients() end
while true do wait(10) FiringEvent() end
Add a text label and add a script inside it.
Write the local scripts code:
script.Parent.Visible = fakse workspace.RemoteEvent.OneClientEvent:Connect(function() script.Parent.Visible = true wait(3) script.Parent.Visible = false end)
- This script will fire an event that will make a textlabel appear on all the players screens for 5 seconds, this event will be fired every 10 seconds, if you need any more help then please reply and tell me what you need help with.
Happy Coding, Destroyer1234x.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Sorry for the typos, but hope you understand anyway.
also always put codes in codeblocks to make them more easy to understand