I am having problem getting access to the players account age. I got the script right here. I just need help finding out a way to get access to the players account age.
local s = script.Parent
game.Players.PlayerAdded:connect(function(p)
s.Visible = true
s.Text = p.Name.." Has Joined The Server! | Account Age:" -- that is where I want the account age
wait(3)
s.Visible = false
s.Text = "" -- don't worry I want the text to be nothing when the script is over
end)

1 comment
Also: PlayerAdded events don't work well in LocalScripts, and server Scripts should not be used inside GUIs. Use RemoteEvents to handle the event in a LocalScript and fire it in a server Script.