robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 11 Nov 2013 07:04 PM |
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) p:clone() p.Parent = player.Character.Head p.Adornee = player.Character.Head end) end)
Doesn't work
No output
How |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Nov 2013 07:05 PM |
p is nil wait until head is not nil
and STOP MAKING SPAM THREADS, use 1 THEAD |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 11 Nov 2013 07:06 PM |
omg how wait() do i do
if player.Character.Head then |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Nov 2013 07:08 PM |
| wait, and you don't need the bottom part because either way the scirpt will break if there is no head, unless you use FindFirstChild |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 11 Nov 2013 07:09 PM |
you arent helping. give me something to work with..
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Nov 2013 07:09 PM |
p is nil
and
wait until the head is not nil -.-
"character:WaitForChild("Head")" |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 11 Nov 2013 07:11 PM |
p = game.Lighting.BillboardGui
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Head") if character.Head then p:clone() p.Parent = character.Head p.Adornee = character.Head end end) end)
|
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Nov 2013 07:12 PM |
| "if character.Head then" is useless |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Nov 2013 07:12 PM |
p = game.Lighting.BillboardGui
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Head") x = p:clone() x.Parent = character.Head x.Adornee = character.Head end) end)
|
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 11 Nov 2013 07:14 PM |
| its supposed to be local script right? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Nov 2013 07:16 PM |
| no, a script in a descendent of workspace/serverscriptservice |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Nov 2013 07:17 PM |
| make sure p is not nil and the script's not disable and it's a normal script |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 11 Nov 2013 07:20 PM |
p isnt nil and its not diables
script is in workspace and isnt a local script
help |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
| |
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 11 Nov 2013 07:30 PM |
will this work?
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Head") gui=Instance.new("BillboardGui") gui.Parent=character gui.Adornee=character.Head gui.Size=UDim2.new(5,0,5,0) gui.StudsOffset=Vector3.new(0,2,0) text=Instance.new("ImageLabel") text.Image = "http://www.roblox.com/asset/?id=130742396" text.Size=UDim2.new(1.25,0,0.75,0) text.Position=UDim2.new(-0,0,-0,0) text.BackgroundTransparency = 1 text.Parent=gui end) end) |
|
|
| Report Abuse |
|
|