I have this script that clones a overhead gui in server script service. It goes like the following. I have a script in Server Script Service, and inside that a Bilboard Gui and inside that Gui a text button. Ever time I try and put the player it does not work.
The script:
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local Gui = script.BillboardGui:Clone()
Gui.Parent = Character.Head
Gui.TextButton.Text = Player.Name <<<--- This for some reason give me an error.
end)
end)
-- I wrote this script from memory and some words may be misspelled but that is not the issue.

1 comment
What does the error say?