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
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
| |
|
MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
|
| 06 Apr 2014 03:19 PM |
| Okay lemme see if i can do this. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
| |
|