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 » Scripting Helpers
Home Search
 

Re: Username billboardgui

Previous Thread :: Next Thread 
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
21 Mar 2014 11:44 PM
Why doesn't this simple script work?

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
char:WaitForChild("Humanoid")
char.Humanoid.NameOcclusion = "OccludeAll"
local gui = Instance.new("BillboardGui")
gui.Size = UDim2.new(0, 100, 0, 40)
gui.StudsOffset = Vector3.new(0, 1, 0)

local tl = Instance.new("TextLabel", gui)
tl.Size = UDim2.new(0, 0, 0, 0)
tl.BackgroundTransparency = 1
tl.Font = "SourceSans"
tl.FontSize = "Size48"
tl.Text = player.Name
tl.TextColor3 = Color3.new(1, 1, 1)
tl.TextStrokeColor3 = Color3.new(150/255, 150/255, 150/255)
tl.TextStrokeTransparency = 0

gui.Parent = char.Head
gui.Adornee = gui.Parent
end)
end)
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
21 Mar 2014 11:58 PM
maybe because it local
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
22 Mar 2014 12:06 AM
Bump
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
22 Mar 2014 12:02 PM
the adornee needs to be char.Head k
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
22 Mar 2014 12:12 PM
@tr
gui.Parent = char.Head
gui.Adornee = gui.Parent

... Get out.
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
22 Mar 2014 12:30 PM
wow u cant take a joke


now you will surely get no help with your overly dressed self
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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