if game.Lighting.WR.Minigames.Silo.Parent == game.Workspace.CurrentMinigame then
        local v = 1
for i, players in pairs(game.Players:GetChildren()) do
    players.Character.HumanoidRootPart.CFrame = game.Workspace.GroupOfSpawnsSilo[v].CFrame
v = v + 1
end

elseif game.Lighting.WR.Minigames.Swordfight.Parent == game.Workspace.CurrentMinigame then
    local v = 1
for i, players in pairs(game.Players:GetChildren()) do
players.Character.HumanoidRootPart.CFrame = game.Workspace.GroupOfSpawnsSword[v].CFrame
v = v + 1
end
    end

Basically I have a minigame randomizer,

function ChooseWinnerRound()
	local minigames = game.Lighting.WR.Minigames:GetChildren()
local randomnumber = math.random(1, #minigames)
local chosenminigame = minigames[randomnumber]
chosenminigame:Clone().Parent = game.Workspace.CurrentMinigame
end

and the first script is my issue, the script is basically suppose to check to see which one of the minigames got cloned into the folder, and then whichever minigame got chosen, it would teleport you to the groupofspawns for the minigame. but its not teleporting me! Help!!!