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
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Billboard GUIs

Previous Thread :: Next Thread 
RasberryShadePony is not online. RasberryShadePony
Joined: 10 Dec 2012
Total Posts: 76
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
ThatChristianGuy is not online. ThatChristianGuy
Joined: 14 Jun 2014
Total Posts: 1283
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
RasberryShadePony is not online. RasberryShadePony
Joined: 10 Dec 2012
Total Posts: 76
16 Dec 2014 05:59 PM
But I do not want GUIs for every player.
Report Abuse
LucasLua is not online. 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 is not online. 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
RasberryShadePony is not online. RasberryShadePony
Joined: 10 Dec 2012
Total Posts: 76
16 Dec 2014 07:09 PM
Its not, can you show me an example?
Report Abuse
Fribet is not online. Fribet
Joined: 08 Feb 2014
Total Posts: 700
16 Dec 2014 07:24 PM
Shes just making us code for her.
Report Abuse
RasberryShadePony is not online. RasberryShadePony
Joined: 10 Dec 2012
Total Posts: 76
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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