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

Last person standing script?

This is what I got, Two teams.

Team one: Playing Team two: Spectators

What I have done so far:

-Made a introduction to the game -Done team change (To playing). -Done the teleport to game.

I just need to know how to make a script that will know when everyone dead (Or when everyone is on one team). And announce the last person left on the team Playing. And then loop back to the beginning.

Any ideas?

1 answer

✓ Accepted answer

Add a message to the game, name it MSG

plr = game.Teams.Playing.LocalPlayer

if plr ==1 then
game.Workspace.MSG.Text = "ONE PERSON STANDING"
wait(10)
game.Workspace.MSG.Text = ""

I'm sure this will work.

EDIT #1

8 comments

0

Spectators and Playing

0

Edited it... I think this'll work.

0

Oh thank you, I will try it.

0

Do you need a end with it? Sorry I am not the best scripter, it showed a error at the bottem and I placed an end and then it was fine... I will tell you if it works in a sec...

0

YES DUDE THANKYOU!

0

Could you help me with something? Since I helped you?

0

With what?

0

My Map Chooser script. It's not working: https://scriptinghelpers.org/questions/4951/map-chooser-help

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