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: GUI Help! ASAP!

Previous Thread :: Next Thread 
ThePortugueseCow is not online. ThePortugueseCow
Joined: 06 Dec 2012
Total Posts: 923
04 Apr 2016 02:53 PM
I have a loading menu, blah blah blah. Basically when you click one of the TextButton's it teleports you to a different game. Could someone provide me with a simple script where I can just edit the id for the place?
Report Abuse
spinywind is online. spinywind
Joined: 26 Jan 2012
Total Posts: 3580
04 Apr 2016 02:56 PM
Leave



#Code for i,v in pairs do (game.Players:GetChildren()) v:Kick('Your a noob!') end
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
04 Apr 2016 02:59 PM
http://wiki.roblox.com/index.php?title=API:Class/GuiButton/MouseButton1Click

http://wiki.roblox.com/index.php?title=API:Class/TeleportService/Teleport

Report Abuse
ThePortugueseCow is not online. ThePortugueseCow
Joined: 06 Dec 2012
Total Posts: 923
04 Apr 2016 03:05 PM
"Leave" Nice to see the community has improved from "gtfo"!
Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
04 Apr 2016 03:07 PM
You can't blame windy for being like that. That's just how he is.
Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
04 Apr 2016 03:08 PM
"Windy"
Had to be spiny...
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
04 Apr 2016 03:17 PM
// This assume you're placing this code into a LocalScript into the TextButton you click to teleport with.


Client = game.Players.LocalPlayer;
PlaceID = 0 -- Change to the PlaceID you want to teleport the player to.
Button = script.Parent;

Button.Button1Click:connect(function()

game:GetService('TeleportService'):Teleport(PlaceID, Client);

end)


Report Abuse
sharpchain1 is not online. sharpchain1
Joined: 05 Aug 2013
Total Posts: 1009
04 Apr 2016 03:50 PM
This is a forum for helping people learn to script not just give out the answer cuz the person asked for it there are only certain situations where we do that so if you are not coming here to learn them leave[2]
Report Abuse
ThePortugueseCow is not online. ThePortugueseCow
Joined: 06 Dec 2012
Total Posts: 923
04 Apr 2016 04:04 PM
I have learned to do things from getting the answer, but figuring out the inner processes allowing me to do the things myself. Also, that script did not work.
Report Abuse
ThePortugueseCow is not online. ThePortugueseCow
Joined: 06 Dec 2012
Total Posts: 923
04 Apr 2016 04:21 PM
After editing the script provided, I successfully completed my task. There's an example of how getting an answer can help you learn.
Report Abuse
tdogredman is not online. tdogredman
Joined: 21 Oct 2012
Total Posts: 384
04 Apr 2016 04:23 PM
could you help me out? how did you do it in the end?
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
04 Apr 2016 04:28 PM
Sharp, just don't be one of those. God forbid someone helps an unexperienced soul on this sub-forum. If he wanted to know how/why I did what I did he could ask and learn that way as well. You do definitely still learn from just seeing the code though.


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