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

Round script doesn't even start?

I get no errors, it just doesn't even do anything. Is there anything you can see wrong with it?

---------------------------------------------
Players = game.Players:GetPlayers()
NumP = game.Players.NumPlayers
TPR = 120
Maps = {"Board Room", "Garage", "House of Memories", "Office", "The Scene", "Warehouse"}
RMap = Maps[math.random(#Maps)]
AM = game.Lighting.Maps[RMap]
_G.alive = {}
---------------------------------------------

while wait() do
	if NumP >1 then
		int()
		loadmap()
		spawn()
		giveknife()
		music()
		round()
		award()
	else
		for _,v in next, Players do
			if v:findFirstChild("PlayerGui") then
				v.PlayerGui.timer.Frame.timer.Text = "This game requires 2+ players!"
			end
		end
	end
end

EDIT: I removed a significant amount of the script, so you don't have to sort through all 140 lines. Yes, all the functions are there, it's just nothing happens. No, the script isn't disabled.

3 comments

0

I think you should include the functions because it may be an error in the "int" function.

0

Do you ever update NumP?

0

I added the NumPlayers check inside the loop, so it works as if game.Players.NumPlayers >1 then and so on, still yet nothing. It doesn't even show 'This game requires 2+ players!'.

1 answer

Try putting on line 01 Wait(20) tell me if it works.

1 comment

0

Why would that help at all?

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