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

My Intermission Script Doesnt Work. Pls Help. How i Solve it? ._. my title is spesific [closed]

Asked by 4 years ago
Edited 4 years ago
game.Players.PlayerAdded:Connect(function()
    game.ServerStorage.Playernum.Value = game.ServerStorage.Playernum.Value + 1
    if game.ServerStorage.Playernum.Value > 1 then
        LocalScript.Disabled = false
        LocalScripte.Disabled = true
    else
        LocalScript.Disabled = true
        LocalScripte.Disabled = false
    end
end)

game.Players.PlayerRemoving:Connect(function()
    game.ServerStorage.Playernum.Value = game.ServerStorage.Playernum.Value - 1
    if game.ServerStorage.Playernum.Value > 1 then
        LocalScript.Disabled = false
        LocalScripte.Disabled = true
    else
        LocalScript.Disabled = true
        LocalScripte.Disabled = false
    end
end)

LocalScript is intermission, LocalScripte is Waiting Players...

This script doesnt work. Playernum intvalue isnt changing

Closed as Non-Descriptive by evaera

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?