So I have these scripts : LocalScript in StarterPack (My guess would be the errors here somewhere, but yet again the value in the severstorage never changes)
song1 = game.Soundscape.puzzle
player = game.Players.LocalPlayer
player.PlayerGui:WaitForChild("ScreenGui")
gui = player.PlayerGui.ScreenGui.TextLabel
seconds = game.ServerStorage.seconds.Value
seconds = 30
if game.ServerStorage.roundover.Value == true then
gui.Text = "Next game starts in ".. seconds .." seconds!"
repeat
gui.Text = "Next game starts in ".. seconds .." seconds!"
wait(1)
until
seconds == 0
end
Script in ServerScriptService
seconds = game.ServerStorage.seconds.Value
puzzle = game.Soundscape.puzzle
game.ServerStorage.roundover.Value = true
seconds = 30
if game.ServerStorage.roundover.Value == true then
puzzle:Play()
repeat
seconds = seconds - 1
wait(1)
until
seconds == 0
puzzle:Stop()
end
game.ServerStorage.roundover.Value = false
wait(5)
game.ServerStorage.roundover.Value = true
I want these scripts to (if you can't read it) make a gui count down, nothing happens, no error in the output, the text doesn't change. What's wrong?

1 comment
Mind that it'll play play the sound and do the GUI stuff for only player 1, going from 30 to 0, then only player 2, going from 30 to 0, ... Maybe use a coroutine or spawn()