Making timer can be seen all people

How can make timer everyone in sever can look?

It must include the function that do event at a certain time.

I saw its examples in youtube but cant find i want and understand mostly

I made all the game but it’s delayed because this problem.

attach related video’s link or teach me about it pls…

1 Like

Best way to make a synchronized count down? - #12 by Jackscarlett Is this what you possibly need? Also be sure to add a TextLabel inside a ScreenGui object in StarterGui, then listen for the Changed Event on the Value object (Either Number or Int)

Yea, Many video that i saw introduced ‘ReplicatedStorage’.

This function is used to be watched everyone in server?
And it can do event in certain time? (ex. If minute <= 1 and second <= 20 then…)

Since it’s replicated across every client, yes you could do that

You could also implement both a Seconds & Minutes Number value, so that you know how much of a certain interval has passed or you can do something related to os.time()

hmmm I put the script and change name, but it didnt work…

Isnt putting this script, on ‘serverscriptservice’?

Could I see the script then? :thinking:

Yeah you can put it inside there

I’m sorry that my toooooo slow answer :frowning:

걸렸다
Thisis location of main script

ain
in rep
and like this…(value in ReplicatedStorage)


Finally, gui’s script ya

I just changed value name only… problem what xd

Alright well…It seems as though you’ll need to pass through a couple of if statements on the server side in order to get this working:

On your countdown script, you should have 2 Values inside ReplicatedStorage here:

  • Minutes
  • Seconds

Make sure that the Seconds are at least greater than 0

Go ahead and define your variables, then doing the loop I believe you can use a while do loop instead:

local Seconds = game.ReplicatedStorage:WaitForChild("Seconds")
local Minutes = game.ReplicatedStorage:WaitForChild("Minutes")

while Seconds.Value ~= 0 and Minutes.Value ~= 0 do
    if Seconds.Value == 0 and Minutes.Value > 0 then
        Minutes.Value -= 1
        Seconds.Value = 59
    end
    Seconds.Value -= 1
    wait(1)
end

Then on your LocalScript you could define your values, then detect changes for both the Minutes & Seconds value using the same Text change

No clue though, this is just a guess

If all else fails debug it with print() statements to see where the issue could lie

After print test…

lizing

i found It not work in this ‘if part’

MRdwnd
And they showed me this sign(I think not be related to what was described earlier but it has problem)

yamei
This pointed out line 3.

Someone answer Plsssssssssss😭 I cannot fix it…