Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a gui started timer?

I'm pretty mad right now because I thought it was a good idea to try and make a clickable timer gui without testing if other people can see it. Spoiler alert, they can't. I don't know how to use remote events, can someone at least tell me how to use a remote event to show text label changes to everyone in the server?? It wont let me put the whole script soooo yeah

1 answer

Hello, firstly you should use remote events. If you create one in your GUI as well as a new script that isn't local you can use something like

local GUI_to_change = game.StarterGui.GuiName
local event = game.StarterGui.GuiName.RemoteEvent

local function onFire(player) 
      local time = 10 

     while time > 0 do
           wait(1)
           time = time - 1
           GUI_to_change.TextBox.Text = time
     end
end

Hope this helps, I am not entirely sure if it works because it is midnight here and I wrote this on mobile.

:)

This discussion is preserved as it was. New answers, comments, and votes are closed.