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 » Game Design
Home Search
 

Re: I need help with this Special Gui

Previous Thread :: Next Thread 
Al_Mustafa is not online. Al_Mustafa
Joined: 23 Jul 2016
Total Posts: 877
21 Nov 2016 11:49 AM
So, I wan't someone to make a Special Gui that if you click a button on the gui while playing it will teleport you to another game, I'll give you credits though.
R$1
Report Abuse
sniperclub01 is online. sniperclub01
Joined: 09 Oct 2010
Total Posts: 107
21 Nov 2016 12:03 PM
Surface Gui or regular Gui?
Report Abuse
Al_Mustafa is not online. Al_Mustafa
Joined: 23 Jul 2016
Total Posts: 877
21 Nov 2016 12:07 PM
Regular Gui, I've been craving it for ages.
R$1
Report Abuse
sniperclub01 is online. sniperclub01
Joined: 09 Oct 2010
Total Posts: 107
21 Nov 2016 12:17 PM
Well, you'll need some Value inputs for it of course, like "placeID" in the GUI itself, with the button.
Then the button script will be:

local vCharacter
local torso
local humanoid

// along with something along the lines of
humanoid = script.Parent.Parent.Parent.Parent.Character.Humanoid
torso = humanoid.Parent.Torso
print("Found humanoid")
vCharacter = script.Parent.Parent.Parent.Parent.Character
if vCharacter then
print("Found character")
tp = vCharacter:FindFirstChild("TeleportScript")
if tp == nil then
print("Cloning Script")
tp = script.TeleportScript:Clone()
tp.Parent = vCharacter
wait(1.0)
tp.Disabled = false
else
wait(1.0)
tp.Disabled = true
wait(0.1)
tp.Disabled = false

you'll need a localscript to do all the teleport services with like,
2 or 3 other values, and such, within the inside.
the first value "PlaceID" is going to be labeled as whatever number/place id you want them to teleport to of course
Report Abuse
Al_Mustafa is not online. Al_Mustafa
Joined: 23 Jul 2016
Total Posts: 877
21 Nov 2016 12:21 PM
So, we insert Number Value
R$1
Report Abuse
sniperclub01 is online. sniperclub01
Joined: 09 Oct 2010
Total Posts: 107
21 Nov 2016 12:26 PM
PlaceID should be an INTValue within the GUI scripts and such,
and the other value can just be whatever you want for the palce holder of the name or something like that.
usually a string value
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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