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
 

How to make a Teleport GUI with a code? -->200R$!!<--

Previous Thread :: Next Thread 
favor is not online. favor
Joined: 26 Feb 2009
Total Posts: 280
03 Apr 2013 10:14 PM
I'm trying to make a mission select GUI that has a code for every mission, but I can't seem to find a way to script it. Help?

Please do not hesitate to ask questions if you need to.

REWARD:
Working method will get 100R$ minimum and 200R$ maximum.
(NBC Members will get 10-20R$ from a gear commission.)

SIGNATURE:
"Signs don't stop acts of violence, armed citizens do."
Report Abuse
Robloxianpilotknight is not online. Robloxianpilotknight
Joined: 29 Dec 2009
Total Posts: 7739
03 Apr 2013 10:15 PM
Vector3 Values and :findFirstChild() will be your best friend on this one. Also, no money needed.
Report Abuse
favor is not online. favor
Joined: 26 Feb 2009
Total Posts: 280
03 Apr 2013 10:16 PM
Can you explain how those functions would help me?

"Signs don't stop acts of violence, armed citizens do."
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
03 Apr 2013 10:19 PM
How would you like it? A list with names where you click a name and it teleports you to a position?
Report Abuse
Robloxianpilotknight is not online. Robloxianpilotknight
Joined: 29 Dec 2009
Total Posts: 7739
03 Apr 2013 10:22 PM
Vector3 allows for a player to be teleported via CFraming, with the value being where the player goes. Using :findFirstChild(), you can find Vector3's whose name is the code that you typed in. If you type in a correct code, you can have the script teleport you to the Vector3 value that you need to go to.
Report Abuse
favor is not online. favor
Joined: 26 Feb 2009
Total Posts: 280
03 Apr 2013 10:30 PM
@ElectricAxel,
Here's a full explanation: You click the teleport Gui, a code window Gui pops up, type in a code, if the code is correct then it teleports you to a desired location, if you put in a different code, it teleports you to a different mission. I hope you understand.

@Robloxian,
Thank you for you help, I'll try those functions that you gave me.

"Signs don't stop acts of violence, armed citizens do."
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
03 Apr 2013 10:38 PM
I do understand, thanks for explaining. Would you like me to script this? It sounds fun, but I don't know how much scripting you understand so I have to adapt my code to your understanding.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
03 Apr 2013 11:32 PM
It shouldn't to be difficult. You can make the GUI popup through simple use of the .Visible property. If you have basic understandings of tables, you can set up the values of the code and positions in the table. Then, suing a loop, you can check if the textbox's


    local TextBox = script.Parent --Or wherever it is
    local Player = Game.Players.LocalPlayer --This is the player in a localscript, but could be changed
    
    local Missions = {
    
        ["12345"] = Vector3.new( 0, 0, 0);
        
        ["00000"] = Vector3.new( 100, 100, 100);
        
    }
    
    TextBox.Changed:connect(function(Prop)
    if Prop ~= "Text" then return end
        for Code, Position in pairs(Missions) do
            if Code == TextBox.Text and Player and Player.Character then
                Player.Character:MoveTo(Position)
            end
        end
    end)

(╯°□°)> KMXD
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
03 Apr 2013 11:32 PM
It shouldn't be too difficult. *

(╯°□°)> KMXD
Report Abuse
favor is not online. favor
Joined: 26 Feb 2009
Total Posts: 280
04 Apr 2013 01:20 PM
@Knightmare,

Amazing...
This should help me a lot, thank you. I'll try it out and if it works, I"ll give you 200R$.
Report Abuse
favor is not online. favor
Joined: 26 Feb 2009
Total Posts: 280
04 Apr 2013 01:42 PM
http://24.media.tumblr.com/tumblr_lwkceeD5qA1r63vu7o1_400.gif
Report Abuse
favor is not online. favor
Joined: 26 Feb 2009
Total Posts: 280
04 Apr 2013 05:17 PM
@KnightmareXD,
Thank you, your script worked perfectly.
I will send you a PM so you can claim your reward.

"Signs don't stop acts of violence, armed citizens do."
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
04 Apr 2013 05:18 PM
No, thank you.

(╯°□°)> KMXD
Report Abuse
ZeroTheFirst is not online. ZeroTheFirst
Joined: 25 Mar 2013
Total Posts: 53
04 Apr 2013 05:27 PM
I'll take the money if you just really want to get rid of it :p
Report Abuse
iamubercool is not online. iamubercool
Joined: 23 Jul 2010
Total Posts: 54
04 Apr 2013 05:58 PM
I know this thread is over, but i just HAD to say dude, awesome line there!
"Signs don't stop acts of violence, armed citizens do."
Not sure what the proper name for that sort of line that ends at each reply to a post is, but i'm sure its not "that line :P"

2nd amendment ftw.
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
04 Apr 2013 06:35 PM
>Iamnumbercool:
It's called a signature
Report Abuse
favor is not online. favor
Joined: 26 Feb 2009
Total Posts: 280
08 Apr 2013 05:24 PM
Thanks, dude, I'm glad you agree with the 2nd amendment.

"Signs don't stop acts of violence, armed citizens do."
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