Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Round script doesn't even start?

Asked by 9 years ago

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.

0
I think you should include the functions because it may be an error in the "int" function. Shawnyg 4330 — 9y
0
Do you ever update NumP? GoldenPhysics 474 — 9y
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!'. systematicaddict 295 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

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

0
Why would that help at all? systematicaddict 295 — 9y
Ad

Answer this question