How can i create a "Join Friends server Screen"?

I never used TeleportService, but I think you need both the PlaceId and the GameId - not sure what the difference is. Try this instead:

if v.LastLocation then
	FriendImage.JoinButton.MouseButton1Click:Connect(function()
		print(v.GameId, v.PlaceId)
		TeleportService:TeleportToPlaceInstance(v.PlaceId, v.GameId, LocalPlayer)
	end)
end

Edit: Changed v.VisitorId to v.GameId.
Another edit:

PlaceId number The place ID of the friend’s last location.
GameId string The DataModel.JobId of the friend’s last location.

it says the same

join friends screen error 2

Our game had the exact same problem but it went away on its own. According to this thread and reply, it is an issue on Roblox’s end and they attempted to fix it. I suppose you could bump the thread with your input, as there are plenty of developers reporting that whatever Roblox did didn’t work. Otherwise, it’ll work from time to time, but there’s no telling when.

Another reply in that thread said that it started to work when they ran it off of the server instead of following the DevHub documentation which says to run it from the client. You could try that if that’s not already the case.

then i think it can be like the “ResetButtonCallback SetCore”

that depends of the stats

Hey! Roblox has a Default Service part of the Social service, Here is a Little Code to help you out, This is a child of a Button.

local social = game:GetService("SocialService")
script.Parent.MouseButton1Click:Connect(function()
	social:PromptGameInvite(game.Players.LocalPlayer)
end)
1 Like

These is to invite but i want to join

these is to people can join but not you

Oh, Sorry. I guess I misunderstood your post.

i am trying to make a system like “Adopt Me!”

so you can join your friends another servers

A game can have different places. You can get thrown around a game with uses the same data store services for example.

I know specific servers have their specific ID you might wanna save their current server on a data store when they join. Let me get reference here.

This could help you

1 Like

then the jobId its the code of the server to teleport and the PlaceId its the id of the game to teleport

1 Like

Ignore the idea of saving it to a data store, it’s not a great method at all.

This method returns the JobId for online friends.

This can be also read by the client. So you can get the list via client too, and then just use a remote event to teleport the player into another server;

these is that i tried on the script

It seems like this system is broken someone also made something similar, I made a system too. https://www.roblox.com/games/3334897917/Teleport-to-Friends

This is mine:

https://www.roblox.com/games/6101241189

Video:

robloxapp-20201217-1845519.wmv (5.3 MB)

3 Likes

Happens the same of my try

These can be roblox stats or bug

These is weird because adopt me have Join friends system

These can be more easier if i replace TeleportService:TeleportToPlaceInstance to TeleportService:Teleport to friend’s place bc games try to join friends

umm yes these works but if two friends are in the same game then it can glitch

1 Like

Is this so that you can join other friend’s games? If so, then make sure you have “Allow third party teleports” on. (Beware that any virus can take you to any place if you do this.)


How to do it:

image

image

But i arleady activated it and i appear another error that is the screenshot error

i activated HTTP request too because appears a error that says “HTTP 429”

Thats from getting the friends.