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.

4 comments
So something like
if game:GetService("TeleportService"):GetPlayerPlaceInstanceAsync(v.UserId).PlaceId == "4588671650" then?yes
here is what it returns:https://ibb.co/JpNWFvs
Got it! Ty