|
| 21 Jun 2015 05:14 AM |
Nametag being the text above a player...
Im thinking of adding a gamepass that allows the user to change the fontsize and color of their nametag.
Is there an easy way to access the nametag and manipulate it? |
|
|
| Report Abuse |
|
|
Jammer622
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
|
| 21 Jun 2015 05:17 AM |
| If I remember correctly, roblox prevented players from directly changing character names a few years ago. One of the better methods is to make your real name invisible, weld a part named Head in another model onto your own head, then add a humanoid to it and change its name. The only problem with that method is that there's either a dead healthbar or no healthbar. |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
|
| 21 Jun 2015 05:18 AM |
@Jammer
What about inserting billboard GUI's into every new Players head? |
|
|
| Report Abuse |
|
|
Mitko0o1
|
  |
| Joined: 30 Nov 2010 |
| Total Posts: 5725 |
|
|
| 21 Jun 2015 05:19 AM |
Just set the visibility of the nametag at the properties of StarterPlayer - set NameDisplayDistance and HealthDisplayDistance to 0, then add a Billboard Gui inside their heads with them containing a TextLabel with their name, your script should look something like this:
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) local Head = c:WaitForChild("Head") local Gui = game.ServerStorage.NameTag:Clone() Gui.Parent = Head Gui.TextLabel.Text = p.Name end) end) |
|
|
| Report Abuse |
|
|
Jammer622
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
|
| 21 Jun 2015 05:20 AM |
| Billboard GUIs can be fully customized, the problem is that it's difficult to make them invisible from far away players or size them right. If you don't care much for keeping the original style of the nametag, you can definitely make your own that way. |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2015 05:20 AM |
Or you can do it locally to have more control.
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2015 05:21 AM |
In order to change it, you must change the character's model name. You can't do this. If you did, it would break the whole character.
To correctly do this do... + Humanoid.NameDisplayDistance = 0
And for health... + Humanoid.HealthDisplayDistance = 0
Depends on your likes |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2015 05:52 AM |
Im not going to implement it so that they are able to change their own names on their nametag
Font, backgroundcolor and textcolor will do, but anything else would be a nice bonus. |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2015 05:54 AM |
Use particle emitters to have MLG mountain dew and doritos fly out of their heads.
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
DrSaint
|
  |
| Joined: 14 Oct 2009 |
| Total Posts: 18429 |
|
|
| 21 Jun 2015 05:54 AM |
@Power
Oh my god perfect cash cow right there. |
|
|
| Report Abuse |
|
|