local T=game:GetService("\080\108\097\121\101\114\115")local z=workspace.Lobby.Spawn.CFrame local C=game.ReplicatedStorage.VotingRE local M={}C.Transition:FireAllClients()for T,C in pairs(T:GetPlayers())do if C.InGame.Value==true then C.leaderstats.Wins.Value+=1 C.Character.HumanoidRootPart.CFrame=z table.insert(M,C.Name)print(M)C.InGame.Value=false else print("\078\111 \080\108\097\121\101\114\115\033")end end for T,z in pairs(workspace:GetChildren())do if z:IsA("\077\111\100\101\108")and z:FindFirstChild("\083\112\097\119\110\080\111\105\110\116\115")then z:Destroy()end end C.RoundFinished:FireAllClients(M)wait(3)wait(18)M={}script.Parent.PlayerCount:Destroy()script.Parent.Disabled=false script.Disabled=true

local Players = game:GetService("Players")
local LobbySpawn =  workspace.Lobby.Spawn.CFrame -- Your Spawn Location CFrame
local VotingREFolder = game.ReplicatedStorage.VotingRE
local Winners = {}
	VotingREFolder.Transition:FireAllClients()

	for _,  player in pairs (Players:GetPlayers()) do  
	if player.InGame.Value == true then
			player.leaderstats.Wins.Value += 1
			player.Character.HumanoidRootPart.CFrame = LobbySpawn
			table.insert(Winners, player.Name)
			print(Winners)
			player.InGame.Value = false
	else
		print("No Players!")
		end
	end	

	for _, child in pairs(workspace:GetChildren()) do
		if child:IsA("Model") and child:FindFirstChild("SpawnPoints") then
			child:Destroy()
		end
	end

	VotingREFolder.RoundFinished:FireAllClients(Winners)

	wait(3) -- Transition wait
	wait(18) -- Winners Announce Wait


	Winners = {}

script.Parent.PlayerCount:Destroy()

script.Parent.Disabled = false
script.Disabled = true



