|
| 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 |
|
|
|
| 21 Nov 2016 12:03 PM |
| Surface Gui or regular Gui? |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2016 12:07 PM |
Regular Gui, I've been craving it for ages. R$1 |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 21 Nov 2016 12:21 PM |
So, we insert Number Value R$1 |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|