Is it possible to find out a players birthday?

I think it’d be cool since im adding chat features, to give players a special tag in chat if its their birthday. Is there any way to access this data?

3 Likes

Unless they changed something with age verification, you can’t get their exact birthday. Nor can you ask them to provide it to you. It’s a privacy violation.

2 Likes
https://developer.roblox.com/en-us/api-reference/property/Player/AccountAge

You can instead get the birthday of the account of the player.

local players = game:GetService("Players")
local player = players.LocalPlayer or players.PlayerAdded:Wait()

playerBirthday = player:AccountAge()
if playerBirthday % 365 == 0 then
	print("Happy birthday, "..player.Name.."!")
end
5 Likes

Thats a pretty good replacement… thanks

1 Like