#Teleport wont work

1 messages · Page 1 of 1 (latest)

swift forge
#

In my script it is meant to teleport the player to a place (different game) but it wont work

    local TARGET_PLACE_ID = placeIds[lobby.Map.Value]
    
    if game.Players:FindFirstChild(lobby.Creator.Value) then
        TeleportService:TeleportAsync(TARGET_PLACE_ID, {game.Players:FindFirstChild(lobby.Creator.Value)})
    end
    for _, plr in pairs(lobby.PLAYERS:GetChildren()) do
        if game.Players:FindFirstChild(plr.Value) then
            TeleportService:TeleportAsync(TARGET_PLACE_ID, {game.Players:FindFirstChild(plr.Value)})
        end
        task.wait()
    end
    lobby:Destroy()
end)```
swift forge
#

lemme get it

#

16:10:26.506 Not allowed - Server - LobbyManager:100

cosmic parrot
swift forge
#

its a place

cosmic parrot
#

u still need to publish

#

i had the same error

swift forge
#

how?

cosmic parrot
#

file > save in roblox as

swift forge
#

i did publish to roblox

#

and that

cosmic parrot
#

huh

#

then i dont know

#

😭