local BillboardGui = game:GetService('ReplicatedStorage'):WaitForChild('BillboardGui')
local text = script.Parent.Parent.TextBox.Text
script.Parent.MouseButton1Click:connect(function()
BillboardGui.frame.TextBox.Text = text
print ("text changed")
end)
don't know if this helps this is to get it into players head
local BillboardGui = game:GetService('ReplicatedStorage'):WaitForChild('BillboardGui') --You may have also made a spelling mistake here.
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char) --Fires everytime the player respawns
char:WaitForChild('Head')
local clonedBillBoard = BillboardGui:Clone()
clonedBillBoard.Parent = char.Head
clonedBillBoard.frame.RPText.Text = plr.Name
end)
end)

2 comments
Are both of the GUI's inside 1 player at the same time? If so you may need to use a string value inside Replicated Storage for them to change. I could be wrong though.
mate your so right