How to find object from table by using string?

I have to move players to spawns that are dedicated to each of the roles.

(problem is located in onGameStart() function)

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local lobby = game.Workspace.Lobby
local queue = game.Workspace.Queue

local spawns = {
	One = game.Workspace.SpawnLocations.One,
	Two = game.Workspace.SpawnLocations.Two,
	Three = game.Workspace.SpawnLocations.Three,
	Four = game.Workspace.SpawnLocations.Four
}

local function onPlayerJoin(player)
	player.RespawnLocation = game.Workspace.Lobby.SpawnLocation
	player:LoadCharacter()
end

local function onGameStart(gameState)
	if gameState == "InProgress" then
		for i, v in pairs(Players:GetPlayers()) do
			local roleSetup = ReplicatedStorage.Roles:FindFirstChild(v.Role.Value)
			roleSetup:Clone().Parent = v.Character
			local spawnPosition = spawns:FindFirstChild(roleSetup.SpawnPosition.Value) --roleSetup.SpawnPosition.Value is a string value
			v.Character.HumanoidRootPart.CFrame = spawnPosition.CFrame
		end
	end
end

local function onGameEnd(gameState)
	if gameState == "Intermission" then
		for i, v in pairs(Players:GetPlayers()) do
			v.RespawnLocation = lobby.SpawnLocation
			v:LoadCharacter()
		end
	end
end

Players.PlayerAdded:Connect(onPlayerJoin)
ReplicatedStorage.GameState.Changed:Connect(onGameStart)
ReplicatedStorage.GameState.Changed:Connect(onGameEnd)

Do

spawns[roleSetup.spawnPoint.Value]

oh god i forgot that this exists. thanks a lot