Hello, I am looking for top-knotch scripters. I will pay you for your work. I need this script to have it so if there is no one in the round, it will end and it will show the name of the winning team.
Here is the script I started - I can't figure anything else out.
Please help.
local Message = Instance.new("Message", game.Workspace)
local Spawns = {game.Workspace.Spawn, game.Workspace.Spawn2, game.Workspace.Spawn3, game.Workspace.Spawn4}
local SpawnLocations = {game.Workspace.Lobby.SpawnLocation, game.Workspace.Lobby.SpawnLocation2, game.Workspace.Lobby.SpawnLocation3, game.Workspace.Lobby.SpawnLocation4, game.Workspace.Lobby.SpawnLocation5}
while wait(2) do
Message.Parent = game.Workspace
Message.Text = "Intermission."
Message.Text = "Intermission.."
Message.Text = "Intermission..."
wait(3)
for i=35,0,-1 do
Message.Text = i
wait(1)
end
Message.Text = "Begin!"
wait(1.5)
Message:Destroy()
wait(1.5)
game.Lighting.Map1.Parent = game.Workspace
game.Workspace.Map1:MakeJoints()
for i, Player in ipairs (game.Players:GetPlayers()) do
Player.Character.Torso.CFrame = (Spawns[math.random(1, #Spawns)]).CFrame
Player.PlayerGui.Spectate:remove()
wait(2)
game.Lighting.Shop:Clone().Parent = Player.PlayerGui
wait(2)
game.Lighting.ClassicSword:Clone().Parent = Player.Backpack
game.Lighting.ClassicTimebomb:Clone().Parent = Player.Backpack
game.Lighting.RocketLauncher:Clone().Parent = Player.Backpack
end
if game.Players.LocalPlayer.Humanoid.Health < 0 then
local Message2 = Instance.new("Message", game.Workspace)
Message2.Text = "The Round Has Ended!"
for i, Player in ipairs (game.Players:GetPlayers()) do
end
else
wait(200)
local Message2 = Instance.new("Message", game.Workspace)
Message2.Text = "The Round Has Ended!"
wait(3)
Message2:remove()
for i, Player in ipairs (game.Players:GetPlayers()) do
Player.Character.Torso.CFrame = (SpawnLocations[math.random(1, #SpawnLocations)]).CFrame
Player.Backpack.ClassicSword:Destroy()
Player.Backpack.ClassicTimebomb:Destroy()
Player.Backpack.RocketLauncher:Destroy()
end
game.Workspace.Map1.Parent = game.Lighting
end |