Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help my intermission do not work?

Plz help what should i do??

1 comment

0

This is my script local replicatedstorage = game:GetService(replicatedstorage) local satus = replicatedstorage:WaitForChild('InfoValue') while true do while game.Players.Nameplayers > 2 do status.Value = "There needs to be 2 or more players to begin" repeat wait() until game.Players.Nameplayers >= 2 end for i = 15,0,-1 do status.Value = 'Intermission '..i wait(1) end local mapsinserverator

1 answer

✓ Accepted answer
local replicatedstorage = game:GetService(replicatedstorage)
local satus = replicatedstorage:WaitForChild('InfoValue')
while true do
	while game.Players.Nameplayers > 2 do
		status.Value = "There needs to be 2 or more players to begin"
		repeat wait() until game.Players.Nameplayers >= 2
	end
	for i = 15,0,-1 do
		status.Value = 'Intermission '..i
		wait(1)
	end 
	local mapsinserverator

The problem in this script are two missing wait() and a missing end. In a fixed version this would look like this:

local replicatedstorage = game:GetService(replicatedstorage)
local satus = replicatedstorage:WaitForChild('InfoValue')
while true do
	while game.Players.Nameplayers > 2 do
		status.Value = "There needs to be 2 or more players to begin"
		repeat wait() until game.Players.Nameplayers >= 2
		wait()
	end
	for i = 15,0,-1 do
		status.Value = 'Intermission '..i
		wait(1)
	end 
	local mapsinserverator
	wait()
end

Hope this helps. If you got any other questions, feel free to ask.

This discussion is preserved as it was. New answers, comments, and votes are closed.