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 » Scripting Helpers
Home Search
 

Re: I have a question about Teleport Service.

Previous Thread :: Next Thread 
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
29 Jul 2011 01:38 PM
What are some uses for it? I'm not really sure what it actually does. Could someone clear that up for me? Thanks.
Report Abuse
Fl0x is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
29 Jul 2011 01:40 PM
It teleports you from here: __
To here: __
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
29 Jul 2011 01:41 PM
Here's an exampe. Paste this in to your command bar and hit enter.



K = 0 time = 5 for i = 1,5 do time = time - 1 game:SetMessage("Time to send you to a great game. Count Down: " ..time) wait(1) end game:SetMessage("R") wait(K) game:SetMessage("R") wait(K) game:SetMessage("RO") wait(K) game:SetMessage("ROB") wait(K) game:SetMessage("ROBL") wait(K) game:SetMessage("ROBLO") wait(K) game:SetMessage("ROBLOX") wait(K) game:SetMessage("ROBLOX ") wait(K) game:SetMessage("ROBLOX D") wait(K) game:SetMessage("ROBLOX DE") wait(K) game:SetMessage("ROBLOX DER") wait(K) game:SetMessage("ROBLOX DERB") wait(K) game:SetMessage("ROBLOX DERBY") wait() game:SetMessage("ROBLOX DERBY!") wait() game:SetMessage("ROBLOX DERBY!!") wait() game:SetMessage("ROBLOX DERBY!!!") wait(3) game:GetService("TeleportService"):TeleportImpl(22934877,"")
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
29 Jul 2011 01:43 PM
In build mode or edit mode?
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
29 Jul 2011 01:44 PM
Edit
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
29 Jul 2011 01:51 PM
That was neat.
Report Abuse
MARIOSTAR6464 is not online. MARIOSTAR6464
Joined: 21 Jul 2008
Total Posts: 13674
29 Jul 2011 01:53 PM
TeleportImpl is locked though.

You must use (in a local script ONLY)

game:GetService("TeleportService"):Teleport(PLACE ID)
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
29 Jul 2011 02:05 PM
I'm not sure what you just said :P
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
29 Jul 2011 02:11 PM
A local script is a type of script that only runs inside of a Player's backpack, or playerGui. Or anything under Player with a time factor.

Time factor is basicly time. It just lets scripts run.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
29 Jul 2011 02:22 PM
What is an example of something under player that doesn't have a time factor?
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
29 Jul 2011 02:27 PM
Player itself has no timefactor. And neither does the StarterGear instance. BUT if you put a Configuration instance in Player. It will have time and will not be removed even if your player dies.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
29 Jul 2011 02:29 PM
player dies? player leaves or character dies?
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
29 Jul 2011 02:33 PM
Sorry I meant if the character dies. The configuration will not be reseted like PlayerGui and Backpack.

By the way, You can put the Local script in as many folders as you want aslong as one of its grandparents is Player.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
29 Jul 2011 02:38 PM
Ok, yeah I think I know what you mean by configuration, in my game, once you purchase something from the shop, it only gives you an intvalue, and when you spawn, it checks for the intvalue to see if it gives you something, so you never have to buy it again, is that what you mean? Thanks for your help.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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