TBC_ALT
|
  |
| Joined: 11 Mar 2017 |
| Total Posts: 221 |
|
|
| 22 Sep 2017 10:45 AM |
local info = game.ReplicatedStorage.infoValue local timevalue = 60 wait(2) while true do for i = 15,0,-1 do info.Value = "Intermission: "..i wait(1) end local arena = game.Workspace:FindFirstChild("PlayingArena") arena.Transparency = 1 arena.CanCollide = false wait(0.5) arena.Transparency = 0 arena.CanCollide = true info.Value = "Time Left: "..i local round = info.Value == "Time Left: "..i if round then break if round ~= true then info.Value = "Round Over!" end end for i = timevalue,0,-1 do wait(1) for _,v in pairs(game.Players:GetPlayers()) do if v.Dead.Value then timevalue = 0 end end end for _,###n##airs(game:GetService'Players':GetPlayers()) do g.Character.Humanoid.Health = 0 end info.Value = "Round Over!" wait(3) timevalue = 60 end
you might be confused
anyway, that is my main script for my minigame but when everybody is out of the minigame (aka in lobby) i want the round to end what do for questions tweet @TehCreper or i can make you join my team create
I'm an alt |
|
|
| Report Abuse |
|