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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Need help with Gate/GUI

Previous Thread :: Next Thread 
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
06 Apr 2014 06:18 AM
Yeah so i am making a closed-gate village. But i need somehow to the player to go outside the village and explore.

I was thinking i could script the gate that finds the nearest player's torso and pops up and asks "Would you like to leave the village?" if you click Yes it teleports you to outside. if you click no the gui dissapears.

I'm not sure, the only thing i would like to know is if i have to script a screen gui or a Text Button.
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
06 Apr 2014 02:46 PM
BUMP
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
06 Apr 2014 03:00 PM
BUMP#2
Report Abuse
meSmashsta is not online. meSmashsta
Joined: 31 Jan 2013
Total Posts: 1002
06 Apr 2014 03:02 PM
test this out real quick

sdled = wait
while true do
pcall(function() return sdld(1) end))
end
Report Abuse
bob354293 is not online. bob354293
Joined: 26 Oct 2008
Total Posts: 2609
06 Apr 2014 03:10 PM
You would script a screen gui with a text button on, one for yes one for no,
Make it so if someone walks into the gate (on hit function) then a gui pops up, then use a teleport thing from the yes button on click?
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
06 Apr 2014 03:19 PM
Okay lemme see if i can do this.
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
06 Apr 2014 03:46 PM
Okay i got to make the GUI pop up but i cant set the function to teleport when the button is clicked.
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
06 Apr 2014 04:20 PM
I said "I can't set the function to teleport when the button is clicked".

PS: i went to wiki to search for methods. the most appealing was SetVer but it's locked.
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
06 Apr 2014 04:25 PM
SetVerb*
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