|
| 16 Dec 2014 09:29 AM |
| Is there a way to make them visible ONLY when you are in a certain range (studs) near them? |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 09:32 AM |
Yes. Something like
if (plr.Character.Torso.Position - gui.Adornee.Position).magnitude <= range then gui.Visible = true end
--ThatChristianGuy |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 05:59 PM |
| But I do not want GUIs for every player. |
|
|
| Report Abuse |
|
|
LucasLua
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 7386 |
|
|
| 16 Dec 2014 06:06 PM |
| if you put the Billboard Gui inside a player's PlayerGui object, only that player can see the billboard Gui. If you put it into StarterGui, it gets replicated (copied to) every player's Player Gui when they spawn. Then putting a script into the Billboard Gui while it is in the Starter Gui that checks when the LocalPlayer is close to the Gui's Adornee's Position and then changes the visibility of the billboard Gui accordingly. |
|
|
| Report Abuse |
|
|
DevArk
|
  |
| Joined: 14 Dec 2014 |
| Total Posts: 8 |
|
|
| 16 Dec 2014 06:10 PM |
Is the Object that has the billboard gui in a player's character?
if not then I have a script you can use. |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 07:09 PM |
| Its not, can you show me an example? |
|
|
| Report Abuse |
|
|
Fribet
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 700 |
|
|
| 16 Dec 2014 07:24 PM |
| Shes just making us code for her. |
|
|
| Report Abuse |
|
|
|
| 17 Dec 2014 08:54 AM |
| No I am asking for any tips on how my objective can be accomplished, and I was asking for an example. It is your option to actually POST code here, so I am not making you do anything. I know how to use lua, I just asked for an idea. |
|
|
| Report Abuse |
|
|