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

Last person standing script?

Asked by 10 years ago

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

Log in to vote
1
Answered by 10 years ago

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

0
Spectators and Playing InsideExotic 5 — 10y
0
Edited it... I think this'll work. DDDropTheBase 0 — 10y
0
Oh thank you, I will try it. InsideExotic 5 — 10y
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... InsideExotic 5 — 10y
View all comments (4 more)
0
YES DUDE THANKYOU! InsideExotic 5 — 10y
0
Could you help me with something? Since I helped you? DDDropTheBase 0 — 10y
0
With what? InsideExotic 5 — 10y
0
My Map Chooser script. It's not working: https://scriptinghelpers.org/questions/4951/map-chooser-help DDDropTheBase 0 — 10y
Ad

Answer this question