Hello, I am a newer scripter, been developing for many years… But, I am still getting the hang of scripting. I have searched the forum for answers to my question and can’t seem to find any. Been trying for ages, and nothing seems to work, any help is appreciated!
Script Info:
I am trying to make a Textlabel display a player’s account age, how should I go about doing this? Like, how long they have been playing roblox for, on that account.
Any help is appreciated, thanks! If this has already been answered, then please link me the post!
Honestly this is very straight forward. You should already know how to do this, and being new isn’t an excuse.
A player.AccountAge property exists, which is a number representing how many days passed since he first joined roblox. You basically tostring, because it’s a number and a textbox’s Text property needs to be set to a string.
local textbox = --wherever it is
local player = game.Players.LocalPlayer --the local player, the current player
textbox.Text = tostring(player.AccountAge)