I need help with these:
Error:
15:44:04.332 ServerScriptService.ScriptTag:12: invalid argument #3 (string expected, got Instance) - Server - ScriptTag:12
15:44:04.332 Script ‘ServerScriptService.ScriptTag’, Line 12 - Studio - ScriptTag:12
local BillBoardGUI = game:GetService(“ServerStorage”):WaitForChild(“BillboardGui”)
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local teamcolor = player.TeamColor.Color
local teamname = player.Team
local name = player.Name
local ClonedGUI = BillBoardGUI:Clone()
ClonedGUI.name.Text = name
ClonedGUI.tag.TextColor3 = teamcolor
ClonedGUI.tag.Text = teamname
ClonedGUI.Parent = game.Workspace:WaitForChild(player.Name).Head
end)
end)
I don’t know what’s wrong with it, can someone help please?.