local function y(y)y.RespawnLocation=lobbySpawn leaderboardManager.new(y)end game.Players.PlayerAdded:Connect(y)
-- When player joins, have them spawn at the lobby
local function onPlayerJoin(player)
	player.RespawnLocation = lobbySpawn
	leaderboardManager.new(player)
end

game.Players.PlayerAdded:Connect(onPlayerJoin)
