I am trying to make a player teleport to a map when it is chosen, and when it is, a gui pops up first showing what map it is, the name of the map and who it was made by, though **everything except the gui works right. The gui doesnt come up. Server Script is in ServerScriptService and the Local Script is in the ScreenGUI which is in the StarterGUI. ** Script:

maps = game.ServerStorage:GetChildren()

while wait(.5) do
    if game.Players.NumPlayers >= 2 then
		for i, v in pairs(game.Workspace:GetChildren()) do
			if v:IsA('Hint') then
				v:Destroy()
			end
		end
        ranmap = math.random(1, #maps)
        wait(1)
        chosen = maps[ranmap]
        chosenclone = chosen:Clone()
        chosenclone.Parent = game.Workspace
        if chosenclone.Parent == game.Workspace then
            game.StarterGui.ScreenGui.Frame.Visible = true
            game.StarterGui.ScreenGui.Frame.Map.Visible = true
            game.StarterGui.ScreenGui.Frame.Madeby.Visible = true
            game.StarterGui.ScreenGui.Frame.MapName.Visible = true
        end
        wait(5)
        spawn = chosenclone.SpawnPoint
        wait(5)
		local player = game.Players.LocalPlayer
        for i,v in pairs(game.Players:GetPlayers()) do
            name = v.Name
            check = v.Character
            if check then
                checkHumanoid = check:FindFirstChild("Humanoid")
                if checkHumanoid then
                    check:MoveTo(spawn.Position)
                end
            end
        end
    else
    if not(game.Workspace:findFirstChild("Hint")) then  -- If a hint is not a child of the workspace
            h = Instance.new("Hint", game.Workspace)
            h.Text = "You need more than 1 player to play."
    end
    end
end

Local Script:

guis = game.StarterGui.ScreenGui

for i, v in pairs(game.ServerStorage:GetChildren()) do
	vclone = v:Clone()
	if vclone.Parent == game.Workspace then
		guis.Frame.Madeby.Text = "Made by: Spoookd"
		guis.Frame.MapName.Text = vclone.Name
	end
end