Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

?How can I detect the game the players playing?

Asked by 6 years ago

So I'm trying to make a list of the players friends, when they click on the players name, they teleport to their server (In a specific game)

1local player = game.Players.LocalPlayer
2 
3local dict = player:GetFriendsOnline(200)
4 
5for i,friend in pairs(dict) do
6    print(friend.UserName)
7end

So far, I could only get the players that are online, but they are all in a different game, how can I detect if the player is in the same game? And teleport them to the same server?

1
U simply cant User#25115 0 — 6y
0
There is no possible way to do it with a script. DeceptiveCaster 3761 — 6y
0
I don't get what your trying to do and you cant even do that. FantasticFrontierGuy 33 — 6y
0
You mean teleporting players to a specific server in a specific game that isn't owned by you? Vulkarin 581 — 6y

Answer this question