Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to get a player's follower count as a leaderstat?

Asked by
zane21225 243 Moderation Voter
3 years ago

I am working on this Flex Your Account Age style hangout, where the game shows some interesting statistics about your player. Such as the year they joined, follower count, etc.

Basically what I want to do is when a player joins, get their follower count (I'm assuming via an API) and insert that number into a leaderstat.

I haven't tried experimenting w/ this yet, because I don't have much experience in APIs, and I don't know of any that I can actually use.

I already have a basic script that shows what year a player joined, I basically just need help on what API I can use and a bit of knowledge on how to use an API via Lua.

0
Not sure that there's an easy way to do this. From the API docs found here: http://api.roblox.com/docs#Friends it appears you can get friend count, but can only see if a certain player is following another player. msuperson24 69 — 3y
0
@msuperson Yeah, having a friend count isn't bad, I'll try and look into the link you sent me! zane21225 243 — 3y

Answer this question