Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- local plrs = game.Players:GetChildren()
- local gTime = game.Workspace.GTime.Value
- local game = function()
- for aa, a in pairs(plrs) do
- if not a.PlayerGui:FindFirstChild("TimerGui") then
- game.Lighting.TimerGui:Clone().Parent = a.PlayerGui
- end
- if not a.Character:FindFirstChild("Alive") then
- local alive = Instance.new("BoolValue", a.Character)
- alive.Name = "Alive"
- end
- end
- --map generation. ples help me
- print("generating map")
- function generate()
- local players = game.Players:GetChildren()
- local x = 0
- local y = 0
- local mapBlock = game.ReplicatedStorage.SpleefBlock
- for var = 1, #players do
- end
- print("timer added")
- game.Workspace.GTime.Value = 120
- print("gametime set")
- local countDown = function()
- for i = 1, gTime do
- gTime = gTime - 1
- wait(1)
- end
- end
- countDown()
- print("countdown started")
- end
- while true do
- for normgame = 1, 3 do
- game()
- wait()
- end
- game() -- to be special mode or a different gamemode
- wait(15)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement