-- Author K0LP123
--Made this in around 2h
--Player has to be added to Rolimons Library, You can add him here: https://www.rolimons.com/players
local Players = game:GetService("Players")
local function onPlayerAdded(player)
local function leaderboardSetup(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local HttpService = game:GetService("HttpService")
local URL_Rolimons = "https://www.rolimons.com/playerapi/player/" .. player.UserId
local response = HttpService:GetAsync(URL_Rolimons)
local data = HttpService:JSONDecode(response)
local Value = Instance.new("IntValue")
Value.Name = "Value"
Value.Value = data.value
Value.Parent = leaderstats
local RAP = Instance.new("IntValue")
RAP.Name = "RAP"
RAP.Value = data.rap
RAP.Parent = leaderstats
Sorry if my code is messy or my grammar sucks . Feel free to use this in any games.
Hi I’m the creator of Rolimon’s where this data is sourced from. Nice to see people making useful things with our data
If anyone has questions regarding our APIs or data, feel free to contact me (lately I’m not on dev forums much so Discord is typically best). There are certain technical limitations that may arise, for example if this is used in a very popular game there could be rate limit issues, so please contact me for something like that and we can probably come up with solutions if needed.