Hey! Thanks for checking this out, I'm having trouble understanding how to get a player's game. My game uses a friends list so that they can join a friend from the main menu which is a different place. I want to be able to detect if the friend is in that place in order for the player to be able to join them, and wont see all friends in every game.
for i,v in pairs(friends) do
if v.LastLocation then
if v.PlaceId == "4588671650" then
What I attempted to do up there is detect the placeid but i'm pretty sure it only applies to that server it will not show anything if i use that.
you actually have to use TeleportService:GetPlayerPlaceInstanceAsync(userID)
. which returns the place Id of where the player is, and the code of the server they are in