Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
|
| 11 Feb 2016 11:06 PM |
| I have a billboard GUI inside of a brick. I want it so it only appears if you are 10 studs away. How will I go about doing this? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 11:07 PM |
| Offset Is your best solution ^^ |
|
|
| Report Abuse |
|
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
|
| 11 Feb 2016 11:08 PM |
| Will that make it so it only pops up when im a certain distance away? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 11:08 PM |
No, that will make it example
|GUI| NO OFFSET
|GUI| OFFSETTED |
|
|
| Report Abuse |
|
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
|
| 11 Feb 2016 11:10 PM |
| ... I need to so the gui on the brick only pops up if you are like 10 studs away. How do I do this? |
|
|
| Report Abuse |
|
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
| |
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
| |
|
XThane
|
  |
| Joined: 08 Apr 2009 |
| Total Posts: 2702 |
|
|
| 11 Feb 2016 11:14 PM |
You could have a while loop that repeats and checks using an if statement.
To get distance, you can use "(Head.Position-GuiPart.Position).magnitude"
~ Who's awesome, you're awesome ~ |
|
|
| Report Abuse |
|
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
| |
|