How do i fix player is not a valid member of Workspace?
1 | local billboardgui = game:GetService( "ServerStorage" ):WaitForChild( "BillboardGui" ) |
2 | game.Players.PlayerAdded:Connect( function (player) |
3 | if player.Name = = "ItzSulfonic" then |
4 | local clonedgui = billboardgui:Clone() |
5 | clonedgui.Parent = game.Workspace [ player.Name ] .Head |
6 | clonedgui.TextLabel.Text = "Owner" |
7 | clonedgui.TextLabel.TextColor 3 = Color 3. fromRGB( 231 , 206 , 12 ) |
Im trying to make it so ingame i have the word "Owner" above my head only but when i go to test i get this error
16:10:54.665 - ItzSulfonic is not a valid member of Workspace "Workspace"