|
| 01 Dec 2016 10:14 AM |
make a leader board script that display's a player's forum post count?
r+://557741958 Go Drink A Cup Of Water |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Dec 2016 10:16 AM |
how would i do that then?
r+://557741958 Go Drink A Cup Of Water |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2016 10:22 AM |
To make something display on the leaderboards, insert an object named "leaderstats" into the player (any object will do as long as it's named "leaderstats" I'm pretty sure). Then insert a NumberValue named "Forum Posts" (or whatever you want it to be called). This will make there be a column in the leaderboards for "Forum Posts" now, and it will display whatever that NumberValue's value is for that player.
To get the player's forum posts, you'd have to use the HttpService, which unfortunately I'm not too familiar with. I'm pretty sure there is a user created API that will do it for you. |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2016 10:23 AM |
Yes i do want to get the player's forum post count from their account.
r+://557741958 Go Drink A Cup Of Water |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2016 12:23 PM |
| So the leaderboard of forum posts, what would be the point of it? |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2016 12:25 PM |
The point of it is to show how many posts you have
r+://557741958 Go Drink A Cup Of Water |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Dec 2016 12:31 PM |
HttpService to some proxy to send a request to Roblox.
Send a GET request to https://www.roblox.com/users/USERID/profile Find the post count from the HTML:
tonumber(data:match("Forum PostsLT/pGT.-GT(.-)GT"):gsub(",","")) I didn't test this but I'm just going to assume I did it correctly
replace GT with > and LT with < |
|
|
| Report Abuse |
|
|