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: never used this teleport thing so, simple question

Previous Thread :: Next Thread 
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 05:08 AM
http://wiki.roblox.com/index.php?title=TeleportService_guide#TeleportToSpawnByName.28placeId.2C_spawnLocation_.5B.2C_player.5D.29

what if i wanted to teleport to a specific spawn and a specific instance

huh

or is even the question way off
Report Abuse
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
31 Jul 2015 06:39 AM
Player:MoveTo(Instance.Position)
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 06:55 AM
lol what?
Report Abuse
gskw is not online. gskw
Joined: 05 Jan 2013
Total Posts: 1364
31 Jul 2015 07:21 AM
Hey, you're really lucky! Roblox introduced an API for that yesterday (I don't know if it's enabled yet though)

anaminus.github.io/api/class/TeleportService.html

"TeleportData" can be passed even when teleporting to a specific instance. You can use that and "LocalPlayerArrivedFromTeleport" to do this.

This is a signature. Recommended username: KindheartedGskw
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 08:27 AM
can u give me an example on how to use all this
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 08:28 AM
nvm

wat does LocalPlayerArrivedFromTeleport

do
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
31 Jul 2015 09:00 AM
Part:MoveTo(Object.Position)

Women are like fine wine, I can't get their tops off
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 09:20 AM
god

idiots are real
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
31 Jul 2015 09:27 AM
I literally gave you a formula to make a teleporter.

Maybe this might be little more suitable:

http://wiki.roblox.com/index.php?title=Absolute_beginner%27s_guide_to_scripting

http://www.roblox.com/Forum/ShowPost.aspx?PostID=153548676

Women are like fine wine, I can't get their tops off
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
31 Jul 2015 09:28 AM
More like WolfgangVonIdiot
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
31 Jul 2015 09:29 AM
o alrit itll be like dat. err rokay so errr more like dermondufus ye rekt m8

Women are like fine wine, I can't get their tops off
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
31 Jul 2015 09:30 AM
lol k
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
31 Jul 2015 09:31 AM
You can also use a vector3

part:MoveTo(3, 3, 3)

Women are like fine wine, I can't get their tops off
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
31 Jul 2015 09:33 AM
Unable to cast double to Vector3
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 12:05 PM
idiots
are
real

bumpzy
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
31 Jul 2015 12:06 PM
God damn. Can you even script!?

Women are like fine wine, I can't get their tops off
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 12:07 PM
>More like WolfgangVonIdiot

i just want to tell you

i died of laughter when i saw that
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 12:07 PM
wolfgang

i cant tell if you troll or not

if you are, thanks: funs over, i want answers.
if not: are you 12 dude?
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
31 Jul 2015 01:52 PM
LOL bro! I can't tell if you're the troll? You think you can script, but you can't use MoveTo API?!

Women are like fine wine, I can't get their tops off
Report Abuse
filiptibell is not online. filiptibell
Joined: 10 Mar 2013
Total Posts: 2362
31 Jul 2015 02:05 PM
It seems you can pass data through the Teleport methods now.
So something like this, I guess, you'll have to alter it a bit:

local spawnPosition = Vector3.new(spawn.Position)
TeleportService:TeleportToPlaceInstance(placeId, instanceId, player, spawnPosition)

TeleportService.LocalPlayerArrivedFromTeleport:connect(function(loadingGui, spawnPosition)
Player.Character:MoveTo(spawnPosition)
end)
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 03:51 PM
what do I put in spawnposition

and what do i put into "loadingGui"

eh
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
31 Jul 2015 03:56 PM
...
Are you srs br0

u sicko!
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 03:58 PM
idiots r real
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
31 Jul 2015 04:00 PM
Here just do this:

local spawnPosition = Vector3.new(NAMEOFYOURSPAWN.Position)
TeleportService:TeleportToPlaceInstance(placeId, instanceId, player, spawnPosition)

TeleportService.LocalPlayerArrivedFromTeleport:connect(function()
Player.Character:MoveTo(spawnPosition)
end)

u sicko!
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
31 Jul 2015 04:00 PM
also

local spawnPosition = Vector3.new(spawn.Position)
TeleportService:TeleportToPlaceInstance(placeId, instanceId, player, spawnPosition)

TeleportService.LocalPlayerArrivedFromTeleport:connect(function(loadingGui, spawnPosition)
Player.Character:MoveTo(spawnPosition)
end)


did you mean that to be 2 different scripts

this is one script and wat i have atm

script.Parent.MouseButton1Click:connect(function()
game:GetService("TeleportService"):TeleportToPlaceInstance(30891288, 277876573, game.Players.LocalPlayer)
end)

game:GetService("TeleportService").LocalPlayerArrivedFromTeleport:connect(function(loadingGui, spawnPosition)
game.Players.LocalPlayer.Character:MoveTo(spawnPosition)
end)

in a textbutton
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