local player = game.Players.LocalPlayer
local char = player.Character
local textlabel = script.Parent
function onPlayerAdded(plr)
if plr then
local timer=10
textlabel.Text = "game starts in:" .. timer
while task.wait(1) do
timer = timer-1
textlabel.Text = "game starts in:" .. timer
if timer == 0 then break end
end
end
end
players.PlayerAdded:Connect(onPlayerAdded)
textlabel.Changed:Connect(onPlayerAdded)```
The timer isnt going down.
#timer prob
1 messages · Page 1 of 1 (latest)