|
| 09 Apr 2012 10:18 AM |
Hi i just payed 1.3k robux for a scripter to do it but can't do it, I will pay 450 robux if you can do it, Its for a freind but this is all i can do :L My old account got hacked, that was he finished version as well... So here's the script. function EditGui(MainText) for _, pl in pairs(game.Players:GetPlayers()) do local mgui = game.StarterGui.GameStats.Main.GameShow local gui = pl.PlayerGui:findFirstChild("GameStats") local tod = gui.Main:findFirstChild("GameShow") if gui ~= nil then tod.Text = MainText mgui.Text = MainText end end end
function MainGame() for i = 30, 1, -1 do if i == 1 then EditGui("Game will start in "..i.." second") else EditGui("Game will start in "..i.." seconds") end wait(1) end EditGui("Teleporting players") wait(1) p = game.Players:GetChildren() for i = 1, #p do p[i].Character.Torso.CFrame = CFrame.new(Vector3.new(-16, 4.6, 131)) wait(1) EditGui("Game in progress") end end |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
| |
|
|
| 09 Apr 2012 01:36 PM |
you could do something like this.
_G.Alive = {} -- global table for i,v in pairs(game.Players:GetPlayers()) do table.insert(_G.Alive, v.Name)-- insert players into table at beggining end
--scripty script if #_G.Alive == 0 then --restart end
----------separate script ---------------------- game.Players.PlayerAdded:connect(function(pl) repeat wait() until pl.Character pl.Character.Humanoid.Died:connect(function() for i,v in pairs(_G.Alive) do if v == pl.Name then -- check if player is in table. table.remove(_G.Alive, pl.Name) -- remove players when they die. end end end) end)
~ The inner machinations of my mind are an enigma. |
|
|
| Report Abuse |
|
|