|
| 18 Jan 2013 05:28 PM |
I have a rather stupid question I need the answer to. I am trying to have an object be inserted as a Child of X player's head, but it obviously can't find the player's head. Here is the 'local' statement of the CHARACTER. I put GuiOwner.Head further on in the script.
local GuiOwner = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Character
Please help me! |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2013 05:40 PM |
If this is a LocalScript, you just just do this:
local GuiOwner = game.Players.LocalPlayer.Character
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2013 05:46 PM |
| Thanks! I had forgotten all about LocalPlayer until now! |
|
|
| Report Abuse |
|
|