|
| 29 Oct 2011 09:42 AM |
I started experimenting with the GUI feature today and i must say: i really like it. The thing i can't figure out, however, is how to trigger the GUI when standing on a certain part and close the GUI when not standing on it. I tried a couple of things myself but none of which worked.
And just in case one of you guys out there are really bored: could anyone help me figuring out how to freeze the player when clicking on a GUI and un-freeze him by clicking a GUI again?
Thanks for the help. |
|
|
| Report Abuse |
|
|
Rukiryo
|
  |
| Joined: 04 Sep 2009 |
| Total Posts: 1490 |
|
|
| 29 Oct 2011 09:44 AM |
There are 2 ways to make a gui appear when someone steps on something, and disappear when they walk away. 1) When they touch the brick, give the gui, and start a repeat until loop, checking if their distance from the brick is bigger than the brick, with magnitude.
2) Wait for the StoppedTouching event to come out, and do above, but use StoppedTouching instead of the magnitude. |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Oct 2011 10:28 AM |
| Umm im looking for a vip gui |
|
|
| Report Abuse |
|
|
donut222
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 1837 |
|
| |
|