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

So i used a script from alvinblox and it doesnt work. Can someone please help?

Asked by 2 years ago

It's stuck on waiting for enough players, can someone please help? (I also added something to the script)

                    print(player.Name.." Is Alive!")
                else
                    --?????????
                    table.remove(plrs,x)

                end
            end
        else
            table.remove(plrs,x)
            print(player.name.." Died!")
        end
    end

    Status.Value = "There are"..i.." seconds remaining, and "..#plrs.." left!"

    if #plrs == 1 then
        --????
        Status.Value = "The winner is "..plrs[1].Name.."!"
        plrs[1].leaderstats.Cash.Value = plrs[1].leaderstats.Cash.Value + reward
        break
    elseif #plrs == 0 then
        Status.Value = "Nobody won"
        break
    elseif i == 0 then
        Status.Value = "The Timer Ran out, y'all are slow"
        break
    end

    wait(1)
end

print("End of game")

for i, player in pairs(game.Players:GetPlayers()) do
    character = player.Character

    if not character then
        --??
    else
        if character:FindFirstChild ("GameTag") then
            character.GameTag:Destroy()
        end

        if character:FindFirstChild ("Sword") then
            character.Sword:Destroy()
        end

    end
    player:LoadCharacter()
end

ClonedMap:Destroy()

Status.Value ("Game Ended")

wait(2)

end

~~~~~~~~~~~~~~~~~

0
(i didnt put the whole script, i accidentally deleted part of it) Minori_Se1shin 0 — 2y
0
have you tried opening the output seeing if there are any errors TehEpixNeon 0 — 2y
0
I have, but all of the errors are from a plugin i installed Minori_Se1shin 0 — 2y

Answer this question