Sinblade
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 2782 |
|
|
| 04 Sep 2014 04:38 PM |
game.Players.PlayerAdded:connect(function(added) p.CharacterAdded:connect(function(c) if added.Name == Player1 then b = Instance.new("BillboardGui", c.Head) b.Adornee = c.Head b.Size = UDim2.new(4,0,2,0) b.StudsOffset = Vector3.new(0,3,0) t = Instance.new("TextLabel") t.Size = UDim2.new(1,0,1,0) t.BackgroundTransparency = 1 t.TextColor = BrickColor.new("Bright blue") t.TextStrokeTransparency = 0 t.TextTransparency = 0 t.FontSize = "Size14" t.Text = "Developer" t.Parent = b end end) end)
Doesn't work? |
|
|
| Report Abuse |
|
|
DevFrank
|
  |
| Joined: 04 Apr 2012 |
| Total Posts: 1469 |
|
|
| 04 Sep 2014 04:46 PM |
game.Players.PlayerAdded:connect(function(added) p.CharacterAdded:connect(function(c) if c.Name == "Player1" then b = Instance.new("BillboardGui", c.Head) b.Adornee = c.Head b.Size = UDim2.new(4,0,2,0) b.StudsOffset = Vector3.new(0,3,0) t = Instance.new("TextLabel") t.Size = UDim2.new(1,0,1,0) t.BackgroundTransparency = 1 t.TextColor = BrickColor.new("Bright blue") t.TextStrokeTransparency = 0 t.TextTransparency = 0 t.FontSize = "Size14" t.Text = "Developer" t.Parent = b end end) end) |
|
|
| Report Abuse |
|
|
DevFrank
|
  |
| Joined: 04 Apr 2012 |
| Total Posts: 1469 |
|
|
| 04 Sep 2014 04:52 PM |
sorry, I wasn't test the last script above. The one below should work.
game.Players.PlayerAdded:connect(function(added) added.CharacterAdded:connect(function(c) if added.Name == "Player1" then b = Instance.new("BillboardGui", c.Head) b.Adornee = c.Head b.Size = UDim2.new(4,0,2,0) b.StudsOffset = Vector3.new(0,3,0) t = Instance.new("TextLabel") t.Size = UDim2.new(1,0,1,0) t.BackgroundTransparency = 1 t.TextColor = BrickColor.new("Bright blue") t.TextStrokeTransparency = 0 t.TextTransparency = 0 t.FontSize = "Size14" t.Text = "Developer" t.Parent = b end end) end) |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2014 05:10 PM |
--[[ Step aside. ]]-- local plrs = game:GetService("Players") local DeveloperIds = {0000000, 0000000} -- put userids here (found on profiles)
function isADeveloper(char) for i = 1, #DeveloperIds do if (char.userId == DeveloperIds[i]) or (char.Name == "Player1") then return true end end return false end
function pAdded(added) local Char = added.CharacterAdded:wait() if isADeveloper(Char) then local b = Instance.new("BillboardGui", c.Head) b.Adornee = c.Head b.Size = UDim2.new(4,0,2,0) b.StudsOffset = Vector3.new(0,3,0) local t = Instance.new("TextLabel") t.Size = UDim2.new(1,0,1,0) t.BackgroundTransparency = 1 t.TextColor = BrickColor.new("Bright blue") t.TextStrokeTransparency = 0 t.TextTransparency = 0 t.FontSize = "Size14" t.Text = "Developer" t.Parent = b end end plrs.PlayerAdded:connect(pAdded) |
|
|
| Report Abuse |
|
|