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: Is it possible to...

Previous Thread :: Next Thread 
Ultralegend is not online. Ultralegend
Joined: 01 Oct 2011
Total Posts: 6326
10 Mar 2014 03:30 AM
Make a surface gui and when you click it you teleport to another
place that is connected to a universe?
Report Abuse
BenBonez is not online. BenBonez
Joined: 29 Aug 2008
Total Posts: 19362
10 Mar 2014 03:34 AM
Yes it is
Report Abuse
Ultralegend is not online. Ultralegend
Joined: 01 Oct 2011
Total Posts: 6326
10 Mar 2014 03:37 AM
Can i get a sample script?
Report Abuse
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
10 Mar 2014 04:17 AM
A local script in the StarterPack:

local gui = Workspace.SpawnHologram.HelpMenu.Background
gui.Questions.Q8.MouseButton1Down:connect(function()
gui.A8.Visible = true
gui.Questions.Visible = false
game:GetService("TeleportService"):Teleport(117745847, game.Players.LocalPlayer.Character)
end)
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
10 Mar 2014 04:33 AM
-- Ehh... If I remember this correctly... A. Why Character B. Why player argument? Local scripts auto do that for teleport service.
local gui = Workspace.SpawnHologram.HelpMenu.Background
gui.Questions.Q8.MouseButton1Down:connect(function()
gui.A8.Visible = true
gui.Questions.Visible = false
game:GetService("TeleportService"):Teleport(117745847)
end)
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