Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local status = game.ReplicatedStorage:WaitForChild("Status")
- status.Value = "Intermission (30)"
- wait(1)
- status.Value = "Intermission (29)"
- wait(1)
- status.Value = "Intermission (28)"
- wait(1)
- status.Value = "Intermission (27)"
- wait(1)
- status.Value = "Intermission (26)"
- wait(1)
- status.Value = "Intermission (25)"
- wait(1)
- status.Value = "Intermission (24)"
- wait(1)
- status.Value = "Intermission (23)"
- wait(1)
- status.Value = "Intermission (22)"
- wait(1)
- status.Value = "Intermission (21)"
- wait(1)
- status.Value = "Intermission (20)"
- wait(1)
- status.Value = "Intermission (19)"
- wait(1)
- status.Value = "Intermission (18)"
- wait(1)
- status.Value = "Intermission (17)"
- wait(1)
- status.Value = "Intermission (16)"
- wait(1)
- status.Value = "Intermission (15)"
- wait(1)
- status.Value = "Intermission (14)"
- wait(1)
- status.Value = "Intermission (13)"
- wait(1)
- status.Value = "Intermission (12)"
- wait(1)
- status.Value = "Intermission (11)"
- wait(1)
- status.Value = "Intermission (10)"
- wait(1)
- status.Value = "Intermission (9)"
- wait(1)
- status.Value = "Intermission (8)"
- wait(1)
- status.Value = "Intermission (7)"
- wait(1)
- status.Value = "Intermission (6)"
- wait(1)
- status.Value = "Intermission (5)"
- wait(1)
- status.Value = "Intermission (4)"
- wait(1)
- status.Value = "Intermission (3)"
- wait(1)
- status.Value = "Intermission (2)"
- wait(1)
- status.Value = "Intermission (1)"
- wait(1)
- status.Value = "Intermission (0)"
- wait(1)
- status.Value = "Starting Game..."
- local players = game.Players:GetChildren()
- local maps = game.Lighting.Maps:GetChildren()
- local currentmap = game.Workspace:WaitForChild("CurrentMap")
- local chosenmap = script:WaitForChild("ChosenMap")
- local spawner = game.Workspace:WaitForChild("FR Lobby")
- local choises = {}
- function chooseMap()
- for i = 1,#maps do
- if maps[i]:isA("Model") then
- table.insert(choises,maps[i])
- end
- end
- local picked = math.random(1,#maps)
- chosenmap.Value = choises[picked].Name
- end
- function loadMap()
- local map = game.Lighting.Maps:FindFirstChild(chosenmap.Value)
- map:Clone().Parent = currentmap
- end
- function deleteMap()
- for i,v in pairs(currentmap:GetChildren()) do
- if v:isA("Model") then
- v:Destroy()
- end
- end
- end
- function teleportPlayers()
- for i,v in pairs(players) do
- v.Character.HumanoidRootPart.CFrame = currentmap:FindFirstChild(chosenmap.Value).Spawn.CFrame * CFrame.new(math.random(5,10),0,math.random(5,10))
- end
- end
- function teleportBack()
- for i,v in pairs(players) do
- v.Character.HumanoidRootPart.CFrame = spawner.SpawnLocation.CFrame * CFrame.new(math.random(5,10),0,math.random(5,10))
- end
- end
- wait(3)
- chooseMap()
- loadMap()
- wait(3)
- status.Value = "Escape the rooms before the flood reaches you!"
- wait(3)
- status.Value = "Game starts in 3..."
- wait(1)
- status.Value = "Game starts in 2..."
- wait(1)
- status.Value = "Game starts in 1..."
- wait(1)
- teleportPlayers()
- status.Value = "Game started. You have 130 seconds to escape!"
- wait(1)
- status.Value = "You have 129 seconds left to escape"
- wait(1)
- status.Value = "You have 128 seconds left to escape"
- wait(1)
- status.Value = "You have 127 seconds left to escape"
- wait(1)
- status.Value = "You have 126 seconds left to escape"
- wait(1)
- status.Value = "You have 125 seconds left to escape"
- wait(1)
- status.Value = "You have 124 seconds left to escape"
- wait(1)
- status.Value = "You have 123 seconds left to escape"
- wait(1)
- status.Value = "You have 122 seconds left to escape"
- wait(1)
- status.Value = "You have 121 seconds left to escape"
- wait(1)
- status.Value = "You have 120 seconds left to escape"
- wait(1)
- status.Value = "You have 119 seconds left to escape"
- wait(1)
- status.Value = "You have 118 seconds left to escape"
- wait(1)
- status.Value = "You have 117 seconds left to escape"
- wait(1)
- status.Value = "You have 116 seconds left to escape"
- wait(1)
- status.Value = "You have 115 seconds left to escape"
- wait(1)
- status.Value = "You have 114 seconds left to escape"
- wait(1)
- status.Value = "You have 113 seconds left to escape"
- wait(1)
- status.Value = "You have 112 seconds left to escape"
- wait(1)
- status.Value = "You have 111 seconds left to escape"
- wait(1)
- status.Value = "You have 110 seconds left to escape"
- wait(1)
- status.Value = "You have 109 seconds left to escape"
- wait(1)
- status.Value = "You have 108 seconds left to escape"
- wait(1)
- status.Value = "You have 107 seconds left to escape"
- wait(1)
- status.Value = "You have 106 seconds left to escape"
- wait(1)
- status.Value = "You have 105 seconds left to escape"
- wait(1)
- status.Value = "You have 104 seconds left to escape"
- wait(1)
- status.Value = "You have 103 seconds left to escape"
- wait(1)
- status.Value = "You have 102 seconds left to escape"
- wait(1)
- status.Value = "You have 101 seconds left to escape"
- wait(1)
- status.Value = "You have 100 seconds left to escape"
- wait(1)
- status.Value = "You have 99 seconds left to escape"
- wait(1)
- status.Value = "You have 98 seconds left to escape"
- wait(1)
- status.Value = "You have 97 seconds left to escape"
- wait(1)
- status.Value = "You have 96 seconds left to escape"
- wait(1)
- status.Value = "You have 95 seconds left to escape"
- wait(1)
- status.Value = "You have 94 seconds left to escape"
- wait(1)
- status.Value = "You have 93 seconds left to escape"
- wait(1)
- status.Value = "You have 92 seconds left to escape"
- wait(1)
- status.Value = "You have 91 seconds left to escape"
- wait(1)
- status.Value = "You have 90 seconds left to escape"
- wait(1)
- status.Value = "You have 89 seconds left to escape"
- wait(1)
- status.Value = "You have 88 seconds left to escape"
- wait(1)
- status.Value = "You have 87 seconds left to escape"
- wait(1)
- status.Value = "You have 86 seconds left to escape"
- wait(1)
- status.Value = "You have 85 seconds left to escape"
- wait(1)
- status.Value = "You have 84 seconds left to escape"
- wait(1)
- status.Value = "You have 83 seconds left to escape"
- wait(1)
- status.Value = "You have 82 seconds left to escape"
- wait(1)
- status.Value = "You have 81 seconds left to escape"
- wait(1)
- status.Value = "You have 80 seconds left to escape"
- wait(1)
- status.Value = "You have 79 seconds left to escape"
- wait(1)
- status.Value = "You have 78 seconds left to escape"
- wait(1)
- status.Value = "You have 77 seconds left to escape"
- wait(1)
- status.Value = "You have 76 seconds left to escape"
- wait(1)
- status.Value = "You have 75 seconds left to escape"
- wait(1)
- status.Value = "You have 74 seconds left to escape"
- wait(1)
- status.Value = "You have 73 seconds left to escape"
- wait(1)
- status.Value = "You have 72 seconds left to escape"
- wait(1)
- status.Value = "You have 71 seconds left to escape"
- wait(1)
- status.Value = "You have 70 seconds left to escape"
- wait(1)
- status.Value = "You have 69 seconds left to escape"
- wait(1)
- status.Value = "You have 68 seconds left to escape"
- wait(1)
- status.Value = "You have 67 seconds left to escape"
- wait(1)
- status.Value = "You have 66 seconds left to escape"
- wait(1)
- status.Value = "You have 65 seconds left to escape"
- wait(1)
- status.Value = "You have 64 seconds left to escape"
- wait(1)
- status.Value = "You have 63 seconds left to escape"
- wait(1)
- status.Value = "You have 62 seconds left to escape"
- wait(1)
- status.Value = "You have 61 seconds left to escape"
- wait(1)
- status.Value = "You have 60 seconds left to escape"
- wait(1)
- status.Value = "You have 59 seconds left to escape"
- wait(1)
- status.Value = "You have 58 seconds left to escape"
- wait(1)
- status.Value = "You have 57 seconds left to escape"
- wait(1)
- status.Value = "You have 56 seconds left to escape"
- wait(1)
- status.Value = "You have 55 seconds left to escape"
- wait(1)
- status.Value = "You have 54 seconds left to escape"
- wait(1)
- status.Value = "You have 53 seconds left to escape"
- wait(1)
- status.Value = "You have 52 seconds left to escape"
- wait(1)
- status.Value = "You have 51 seconds left to escape"
- wait(1)
- status.Value = "You have 50 seconds left to escape"
- wait(1)
- status.Value = "You have 49 seconds left to escape"
- wait(1)
- status.Value = "You have 48 seconds left to escape"
- wait(1)
- status.Value = "You have 47 seconds left to escape"
- wait(1)
- status.Value = "You have 46 seconds left to escape"
- wait(1)
- status.Value = "You have 45 seconds left to escape"
- wait(1)
- status.Value = "You have 44 seconds left to escape"
- wait(1)
- status.Value = "You have 43 seconds left to escape"
- wait(1)
- status.Value = "You have 42 seconds left to escape"
- wait(1)
- status.Value = "You have 41 seconds left to escape"
- wait(1)
- status.Value = "You have 40 seconds left to escape"
- wait(1)
- status.Value = "You have 39 seconds left to escape"
- wait(1)
- status.Value = "You have 38 seconds left to escape"
- wait(1)
- status.Value = "You have 37 seconds left to escape"
- wait(1)
- status.Value = "You have 36 seconds left to escape"
- wait(1)
- status.Value = "You have 35 seconds left to escape"
- wait(1)
- status.Value = "You have 34 seconds left to escape"
- wait(1)
- status.Value = "You have 33 seconds left to escape"
- wait(1)
- status.Value = "You have 32 seconds left to escape"
- wait(1)
- status.Value = "You have 31 seconds left to escape"
- wait(1)
- status.Value = "You have 30 seconds left to escape"
- wait(1)
- status.Value = "You have 39 seconds left to escape"
- wait(1)
- status.Value = "You have 38 seconds left to escape"
- wait(1)
- status.Value = "You have 37 seconds left to escape"
- wait(1)
- status.Value = "You have 36 seconds left to escape"
- wait(1)
- status.Value = "You have 35 seconds left to escape"
- wait(1)
- status.Value = "You have 34 seconds left to escape"
- wait(1)
- status.Value = "You have 33 seconds left to escape"
- wait(1)
- status.Value = "You have 32 seconds left to escape"
- wait(1)
- status.Value = "You have 31 seconds left to escape"
- wait(1)
- status.Value = "You have 30 seconds left to escape"
- wait(1)
- status.Value = "You have 29 seconds left to escape"
- wait(1)
- status.Value = "You have 28 seconds left to escape"
- wait(1)
- status.Value = "You have 27 seconds left to escape"
- wait(1)
- status.Value = "You have 26 seconds left to escape"
- wait(1)
- status.Value = "You have 25 seconds left to escape"
- wait(1)
- status.Value = "You have 24 seconds left to escape"
- wait(1)
- status.Value = "You have 23 seconds left to escape"
- wait(1)
- status.Value = "You have 22 seconds left to escape"
- wait(1)
- status.Value = "You have 21 seconds left to escape"
- wait(1)
- status.Value = "You have 20 seconds left to escape"
- wait(1)
- status.Value = "You have 19 seconds left to escape"
- wait(1)
- status.Value = "You have 18 seconds left to escape"
- wait(1)
- status.Value = "You have 17 seconds left to escape"
- wait(1)
- status.Value = "You have 16 seconds left to escape"
- wait(1)
- status.Value = "You have 15 seconds left to escape"
- wait(1)
- status.Value = "You have 14 seconds left to escape"
- wait(1)
- status.Value = "You have 13 seconds left to escape"
- wait(1)
- status.Value = "You have 12 seconds left to escape"
- wait(1)
- status.Value = "You have 11 seconds left to escape"
- wait(1)
- status.Value = "You have 10 seconds left to escape"
- wait(1)
- status.Value = "You have 9 seconds left to escape"
- wait(1)
- status.Value = "You have 8 seconds left to escape"
- wait(1)
- status.Value = "You have 7 seconds left to escape"
- wait(1)
- status.Value = "You have 6 seconds left to escape"
- wait(1)
- status.Value = "You have 5 seconds left to escape"
- wait(1)
- status.Value = "You have 4 seconds left to escape"
- wait(1)
- status.Value = "You have 3 seconds left to escape"
- wait(1)
- status.Value = "You have 2 seconds left to escape"
- wait(1)
- status.Value = "You have 1 second left to escape"
- wait(1)
- status.Value = "You have 0 seconds left to escape"
- wait(1)
- status.Value = "Time has ended."
- wait(5)
- deleteMap()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement