Note: I am a beginner scripter, so I might have problems! The script I use:
function onPlayerEntered(newPlayer)
wait(5)
local Msg = Instance.new ("Hint")
Msg.Parent = game.Workspace
Msg.Text = "Welcome to my game "..player.Name.."! Thanks!"
wait(5)
end
game.Workspace.Players.PlayerAdded:connect(onPlayerEntered)
I really need help on this one! I seem to find nothing wrong with it.

2 comments
No one seems to have mentioned your connection line. It is game.Players.PlayerAdded not game.Workspace.Players.PlayerAdded.
Oh....... Okay, weird no one has said anything about it.