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: Adornee

Previous Thread :: Next Thread 
robomax11 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
11 Nov 2013 07:12 PM
not work ^
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Nov 2013 07:12 PM
"if character.Head then" is useless
Report Abuse
cntkillme is not online. 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 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
11 Nov 2013 07:14 PM
its supposed to be local script right?
Report Abuse
cntkillme is not online. 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 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
11 Nov 2013 07:16 PM
doesnt work.
Report Abuse
cntkillme is not online. 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 is not online. 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 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
11 Nov 2013 07:23 PM
someone help besides cnt
Report Abuse
robomax11 is not online. 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
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