Hello Developers,
i was wondering if there was a possibility to get a users email via a script. I was wondering this because some games are able to go as far as to get the users join date and last game they entered.I know this would be far fetched and even a invasion to privacy but i ask this out of curiosity.Another side question is if it would be against Tos or not.
I don’t think this is possible lol
Hello so I am not totally sure but with my best guess it is impossible. There a few reasons I believe that one being I have never heard anything like that and it would likely be breaking some type of data protection law or something so I do not think Roblox could do this legally unless permission from the user.
Although I do not think you can do it directly via a scrip not sure why you would need this anyways. You can though if really needed create some type of like UI they can put in there email but then I think it would be against the ToS due to them giving out and you asking for what could be classed as personal details.
For the sake of reference, you’re able to get a user’s join date and the last game they played because that’s part of the public API. Join date comes from the Users API, last game played comes from the Presence API. The latter is available in-engine via GetFriendsOnline, though this returns presence data of friends for the user you call the function on and not for users in general. If you need to query a non-friend’s presence information then you will need to use the Presence API.
User email is private, there’s no realistic use case where you would need access to that.
For those wondering i was looking for the users gmail because i wanted to see if i could advertise my game via email like irl brands.
That seems like a privacy violation and I don’t think it’s possible