generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How to make a join friend gui

Previous Thread :: Next Thread 
Arlawng is not online. Arlawng
Joined: 16 Jul 2016
Total Posts: 20
11 Aug 2016 04:05 PM
Like type in id or username whoevers in game then if u press join it joins your friend in that exact game..
Report Abuse
Monadic is not online. Monadic
Joined: 03 Aug 2016
Total Posts: 731
11 Aug 2016 04:06 PM
Teleportation
Report Abuse
Arlawng is not online. Arlawng
Joined: 16 Jul 2016
Total Posts: 20
11 Aug 2016 04:06 PM
bump
Report Abuse
Monadic is not online. Monadic
Joined: 03 Aug 2016
Total Posts: 731
11 Aug 2016 04:07 PM
Teleportation

Report Abuse
GGGGG14 is not online. GGGGG14
Joined: 29 Jan 2012
Total Posts: 25344
11 Aug 2016 04:09 PM
TeleportService

GetPlayerPlaceInstanceAsync(placeId, instanceId, player)
Report Abuse
Arlawng is not online. Arlawng
Joined: 16 Jul 2016
Total Posts: 20
11 Aug 2016 04:14 PM
isnt it player id?
Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
11 Aug 2016 04:19 PM
no
Report Abuse
Arlawng is not online. Arlawng
Joined: 16 Jul 2016
Total Posts: 20
11 Aug 2016 04:33 PM
local teleportService = game:GetService'TeleportService'

function followPlayer(player, targetUserId) -- The player you are teleporting and the userId of the player you are teleporting to.
local success, errorMsg, placeId, instanceId = teleportService:GetPlayerPlaceInstanceAsync(targetUserId)
if success then
teleportService:TeleportToPlaceInstance(placeId, instanceId, player)
else
print("Teleport error:", errorMsg)
end
end

followPlayer(game.Players.LocalPlayer, game.Players.LocalPlayer.PlayerGui.PlayerID.Text)
Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
11 Aug 2016 05:50 PM
well That is right
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image