01 | local billboardgui = |
02 | game:GetService( "ServerStorage" ):WaitForChild( "BillboardGui" ) |
03 |
04 | game.Players.PlayerAdded:Connec( function (player) |
05 |
06 | player.CharacterAdded:Connect( function (character) |
07 |
08 | if player.Name = = "milgamer5" then |
09 | local clonedgui = billboardgui:Clone() |
10 | clonedgui.TextLabel.Text = "Developer" |
11 | clonedgui.TextLabel.TextColor 3 = Color 3. fromRGB( 255 , 255 , 0 ) |
12 | clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head |
13 | end |
14 |
15 | end ) -- here the problem |
You forgot to put an end and you also misspelled Connect. These are small problems, next time you should carefully read your script.
01 | local billboardgui = |
02 | game:GetService( "ServerStorage" ):WaitForChild( "BillboardGui" ) |
03 |
04 | game.Players.PlayerAdded:Connect( function (player) -- And you also misspelled Connect |
05 |
06 | player.CharacterAdded:Connect( function (character) |
07 | if player.Name = = "milgamer5" then |
08 | local clonedgui = billboardgui:Clone() |
09 | clonedgui.TextLabel.Text = "Developer" |
10 | clonedgui.TextLabel.TextColor 3 = Color 3. fromRGB( 255 , 255 , 0 ) |
11 | clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head |
12 | end |
13 | end ) -- You forgot to put an end here! |
14 | end ) |