Hello, so im working on a simple nametag changer for myself, the nametag itself is given to only me opon joining the game i’m trying to make a gui that allows me to change it to whatever text i want. Here is the script
local staff = script.Parent.Parent.Parent.Parent.Parent
local text = script.Parent.TextBox.Text
local textbox = script.Parent.TextBox
function leftClick()
staff.Head.Nametag1.Text = text
end
script.Parent.MouseButton1Click:Connect(leftClick)```
Here is what the gui looks like, 
any fixes/help?
it erroring with Head not a valid member of player