Working in progress intermission script not working

Players.PlayerAdded:Connect(function(player) 
	

local plr = game.Players.LocalPlayer
local PlayerGui = plr:WaitForChild("PlayerGui")
local ScreenGui = PlayerGui.ScreenGui
local TextLabel = ScreenGui.TextLabel

for i = 60, 1, -1 do
	TextLabel.Text = ("the next game game will start in"..i"seconds") 
	wait(1) 
end 
end) 




so im testing an intermission gui thingy and so far this is what i did but it’s not working i dont know how to solve it.

For an intermission timer, you should probably handle time incrementation on the server and local display on the client connected via a RemoteEvent. I don’t suggest you approach a timer the way you’re currently doing it.

Regardless, here’s your new code.

local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)

	local plr = game.Players.LocalPlayer
	local PlayerGui = plr:WaitForChild("PlayerGui")
	local ScreenGui = PlayerGui.ScreenGui
	local TextLabel = ScreenGui.TextLabel

	for i = 60, 1, -1 do
		TextLabel.Text = ("the next game game will start in".. tostring(i) .. "seconds")
		wait(1)
	end
end)
1 Like

are you that dude named NonDistribution in discord cause he gave me the same answer

no lol
but if you wanna add me for more help jamston#1608

addded you(taking space up more and more)