That is not a syntax error.
A syntax error is when you are syntactically invalid -- that is, it doesn't care what you wrote, the "grammar" of it is wrong.
The error you're getting is a run time error -- an error that happens after the script starts running (it can't start running if it doesn't understand you -- a syntax error)
First: local must be lowercase.
:GetFullName() is not usually useful for scripts (i.e., it's only useful to humans). If you want a reference to an object, just use object itself, e.g.,
local player = game.Players.LocalPlayer
Now we want the player's Character. That will simply be
local character = player.Character
However, the Character won't load immediately. A simple way to do it is to wait() until you it's there:
repeat
wait()
until player.Character
local character = player.Character
A more terse way to write it is
local character = player.Character or player.CharacterAdded:wait()
Now the character's Head is simply character.Head
Though it might be safer to wait for it to be there, hence, we could use
local head = character:WaitForChild("Head")
script.Parent.Adornee = head
20 comments
Try game.Workspace.player.Head
For starters your 1st line, your variable can't have a space in it...
Dafuq you talking about tanzane, nothing wrong with his first variable
For starters it's local player, if you don't know what your talking about, don't comment
@Discern- I tried that just now, it gave the same error!
Omg, no I mean if you're going to do a Local Keyword. Make sure it isn't cap'd. Stop acting like I was wrong...
Except you were, that wasn't even the error
It WOULD of been if I hadn't told you
Except that it WASNT even BEFORE you posted
Where is the script in your game?
It is in the player's gui
But it is originally in the starter gui
Is this a local script?
No, wait, then do script.Parent.Parent.Character.Head
I did that, but now nothing happens
Not even an error
What is the whole line of text?
I don't understand what you mean, of course it's text, what else could it be?
Show me the WHOLE script
That is the entire script