How to grab the players join date on my roblox game?

So i want to make a system where a script will grab what date the player first joined “My” roblox game not when they joined roblox. How do i accomplish that?

Firstly, you need to use datastore to save the date value, and secondly, here is a function that allows you to take the date when a person entered the game:

game:GetService("Players").PlayerAdded:Connect(function(player)
    local date = os.date("%x") -- MM/DD/YY
    print("Current Date: " .. date)
end)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.