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: This look too simple to work..

Previous Thread :: Next Thread 
iGobitoe is not online. iGobitoe
Joined: 29 Mar 2013
Total Posts: 6690
01 Mar 2014 12:55 PM
script.Parent.Touched:connect(function(onTouch)
game:GetService('TeleportService'):Teleport(147994693)
end)

It's supposed to TP me to my other game (universe) that's part of ''Lobby''
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
01 Mar 2014 12:59 PM
it's that simple
Report Abuse
iGobitoe is not online. iGobitoe
Joined: 29 Mar 2013
Total Posts: 6690
01 Mar 2014 01:01 PM
@Trans
Yet it's not working xD
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
01 Mar 2014 01:03 PM
script.Parent.Touched:connect(function(hit)
if hit.Parent["Humanoid"] then
local player = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent)
game:GetService("TeleportService"):Teleport(147994693, player.Character)
end
end)
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
01 Mar 2014 01:04 PM
^ undeclared variable
Report Abuse
iGobitoe is not online. iGobitoe
Joined: 29 Mar 2013
Total Posts: 6690
01 Mar 2014 01:09 PM
@Azur
Oh, thanks! :P
I've never worked with teleportservice before xD
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