Need help with TeleportData

Hello! I hope you are having a great day! I am however, the TeleportData is not working.
Source place:

local tpser = game:GetService("TeleportService")
local plr = game.Players.LocalPlayer

local map = "Under the Sea"

script.Parent.MouseButton1Click:Connect(function()
	tpser:Teleport(6203111795, plr, map)
end)

Map generating place:

local map = game:GetService("TeleportService"):GetLocalPlayerTeleportData()
print(map)
game.ReplicatedStorage.GetLocalMap:FireServer(map)

What I did was trying to print(map) but then it didn’t print anything in the Client.

Map generating script (if needed)
game.ReplicatedStorage.GetLocalMap.OnServerEvent:Connect(function(plr, map)
	game.ServerStorage.Maps:FindFirstChild(map).Parent = workspace
end)

if you can help, please let me know. Thanks, WE!

Dragged the map generating place TeleportData to StarterGui and it worked. I had it in PlayerScripts so idk why it didn’t work there…