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

How could I get this to work?

Asked by 8 years ago

I am working on a game right now and I am trying to make my main script do the following:

When the team 'Dead' has less than 9 players, start a countdown When the team 'Dead' has 9 players, stop the countdown and state that the 'Hunter' has one When the team 'Dead' has less than 9 players and the countdown finishes, I want the game to state 'Players have one'

This is what I have so far and I also have a script that assigns a dead player to the team. I know that this is far from right, but it is what I have as of right now. Help and tips would be greatly appreciated.

if game.Teams['Dead'] < 9 then

    for i = 10, 0, -1 do
        status.Value = 'Time Left: '..i
else
    status.Value = 'Players Win!'
if game.Teams['Dead'] == 9 then
        status.Value = 'Hunter Wins'
        wait(3)
else
    status.Value = 'Players Win!'
    wait(3)
    end 
    end
0
We don't make scripts with you. We just help if you have any errors. That's what I do anyways ByteInfinity 40 — 8y
0
If we helped you, would you just fire us anyway? DigitalVeer 1473 — 8y

Answer this question