I need a script to detect how many years user in roblox. Thanks!
You mean account age?
Couldn’t you just do this?
game.Players.LocalPlayer.AccountAge
game.Players.PlayerAdded:Connect(function(player)
print(player.AccountAge / 365) -- 365 days in a year and account age is in days.
end)
1 Like
Thanks!
game.Players.PlayerAdded:Connect(function(player)
if player.AccountAge >= 365 then
print("nice! you are veteran!")
else
print("You aren't veteran.")
end
end)
2 Likes