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: GetPlayerPlaceAsync() Help

Previous Thread :: Next Thread 
AlertedDynamite is not online. AlertedDynamite
Joined: 12 Jun 2015
Total Posts: 667
21 Aug 2016 12:11 AM
Im tryna make the Local Player Get Placed into the same server as the target userid.

Here's wht I have:

local teleportService = game:GetService'TeleportService'

function followPlayer(player, targetUserId)
local success, errorMsg, placeId, instanceId = teleportService:GetPlayerPlaceInstanceAsync(targetUserId)
if success then
teleportService:TeleportToPlaceInstance(placeId, instanceId, player)
else
print("Teleport error:", errorMsg)
end
end

script.Parent.MouseButton1Down:connect(function()
followPlayer(game.Players.LocalPlayer, tonumber(script.Parent.Parent.Text))
end)


Error: Http Error


Need help with DataStore? Get This: https://www.roblox.com/Datastore-Example-item?id=477512343
Report Abuse
AlertedDynamite is not online. AlertedDynamite
Joined: 12 Jun 2015
Total Posts: 667
21 Aug 2016 01:55 AM
.


Need help with DataStore? Get This: https://www.roblox.com/Datastore-Example-item?id=477512343
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
21 Aug 2016 01:56 AM
maybe cuz its in studio?
Report Abuse
AlertedDynamite is not online. AlertedDynamite
Joined: 12 Jun 2015
Total Posts: 667
21 Aug 2016 01:57 AM
i tried it in game to

i get line 4 andd 13, get global player


Need help with DataStore? Get This: https://www.roblox.com/Datastore-Example-item?id=477512343
Report Abuse
AlertedDynamite is not online. AlertedDynamite
Joined: 12 Jun 2015
Total Posts: 667
21 Aug 2016 02:53 AM
?


Need help with DataStore? Get This: https://www.roblox.com/Datastore-Example-item?id=477512343
Report Abuse
jaylen is not online. jaylen
Joined: 13 Jun 2007
Total Posts: 69
21 Aug 2016 02:55 AM
Enable HttpService?


I have exactly R$4 Robux!
Report Abuse
CrixusOdalisManiatus is not online. CrixusOdalisManiatus
Joined: 16 Jun 2011
Total Posts: 5987
21 Aug 2016 03:55 AM
Roblox wiki's version isn't that great, that's why you don't see this too often
Report Abuse
AlertedDynamite is not online. AlertedDynamite
Joined: 12 Jun 2015
Total Posts: 667
21 Aug 2016 03:59 AM
I seen other games do it, U know any helpful examples?


Need help with DataStore? Get This: https://www.roblox.com/Datastore-Example-item?id=477512343
Report Abuse
CrixusOdalisManiatus is not online. CrixusOdalisManiatus
Joined: 16 Jun 2011
Total Posts: 5987
21 Aug 2016 04:20 AM
Here's a thread I had:

https://forum.roblox.com/Forum/ShowPost.aspx?PostID=194284854
Report Abuse
AlertedDynamite is not online. AlertedDynamite
Joined: 12 Jun 2015
Total Posts: 667
21 Aug 2016 05:41 AM
.-. hmm so would place id in the last post be the place id of the main screen or sumthin?


Need help with DataStore? Get This: https://www.roblox.com/Datastore-Example-item?id=477512343
Report Abuse
CrixusOdalisManiatus is not online. CrixusOdalisManiatus
Joined: 16 Jun 2011
Total Posts: 5987
21 Aug 2016 05:59 AM
I would give the help but apparently i cant script, build, animate, or gfx :)



https://forum.roblox.com/Forum/ShowPost.aspx?PostID=196586735&PageIndex=3



Placeid is whatever you put it as (URL wise)
just copy the main games URL numbers and paste it into the placeid.

that forum didnt provide too much help tho, the final product of that forum didn't work, I had to tweak it.
Report Abuse
Shunging is not online. Shunging
Joined: 24 Sep 2016
Total Posts: 1
10 Nov 2017 11:33 PM
me too
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