Hello!
I want to make a round system where the Intermission takes 120 seconds to start and when the intermission is over, the game starts and the game time will be 240 seconds, I want the time in lighting to smoothly transition from day to night and clone a monster from serverstorage to workspace, after the game is over, I want the monster to delete out of workspace and the time back to day, then the players get 1 Survival, and then it repeats!
I also wanted to make a gui that displays the timer!
I have tried to script this but I have no idea how I would organize it and how this would work, most tutorials show this but it also show map rotations, I only want this to occur in one map!
I tried using this script but the timer wouldn’t work!
local roundLength = 240
local intermissionLength = 120
local RoundStarted = game.ReplicatedStorage.RoundStarted
local Status = game.ReplicatedStorage.Status
local function roundTimer()
while wait() do
for i = intermissionLength, 1, -1 do
RoundStarted.Value = false
wait(1)
Status.Value = "Intermission ("..i..")"
end
for i = roundLength, 1, -1 do
RoundStarted.Value = true
wait(1)
Status.Value = "Survive ("..i..")"
end
end
end
spawn(roundTimer)
I also have tried changing the time with a server script multiple times but it wouldn’t work either!
How can I achieve this?