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
 

SurfaceGui teleporting. Help pl0x?

Previous Thread :: Next Thread 
TermoBloxer is not online. TermoBloxer
Joined: 03 Jan 2011
Total Posts: 368
19 Jul 2014 07:46 PM
This is inside a LocalScript inside a TextButton, which is inside a SurfaceGui.

local TP = game:GetService("TeleportService")

function onClicked()
TP:Teleport(167267381, game.Players.LocalPlayer)
end

script.Parent.MouseButton1Down:connect(onClicked)



O script, why must thou not work?!
Report Abuse
TermoBloxer is not online. TermoBloxer
Joined: 03 Jan 2011
Total Posts: 368
19 Jul 2014 07:56 PM
Really? No one? This works just fine in a normal GUI.

._.
Report Abuse
PalmToFace is not online. PalmToFace
Joined: 25 Oct 2010
Total Posts: 65
19 Jul 2014 07:58 PM
ner owtpoot?
Report Abuse
TermoBloxer is not online. TermoBloxer
Joined: 03 Jan 2011
Total Posts: 368
19 Jul 2014 08:00 PM
The output doesn't print anything.
Report Abuse
PalmToFace is not online. PalmToFace
Joined: 25 Oct 2010
Total Posts: 65
19 Jul 2014 08:02 PM
wel srfce uis dnt haz da evnt of onclk
so u must haz a ui butn
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