So basically my script has a playeradded which when the player joins the game then it'll do what I tell it to do.. Okay anyways you guys know what I'm doing. Now the problem is I'm confused, and want to know how to fix it.. Here's my script:

game:GetService("Players").PlayerAdded:Connect(function(p)
	p.CharacterAdded:Connect(function()
		delay(0.2,function()
			script.Parent.Text = p.Name
		end)
	end)
end)

It's supposed to change the text of the textlabel to the name of the player that joined.