Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $nomention
- $c[ENABLE BDSCRIPT 2, DON'T FORGET!]
- $color[fc8905]
- $title[🏅 Leaderboard 🏅]
- $footer[Requested by $username[$authorID]#$discriminator[$authorID]]
- $addTimestamp
- $c[You can modify safely anything above this text]
- $c[Please if you're having problems with the command it must be because the API has some kind of error, you can check the API-Status here: https://dsc.gg/codes ]
- $c[The variable value of "leadertype" needs to be the name of a valid variable type, such as user, globalUser and server, common value is "user"]
- $c[The variable value of "leadervar" needs to be the name of the variable that you want to show in the leaderboard, for example "money" or "level"]
- $c[The variable value of "leaderbackground" needs to be a image URL for the leaderboard background, you can keep it empty to use the default one!]
- $c[Don't edit anything below if you don't know what that do]
- $image[https://api.berk404.ga/leaderboard?text1=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;1]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;1]; ;+;-1];1]&text2=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;2]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;2]; ;+;-1];1]&text3=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;3]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;3]; ;+;-1];1]&text4=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;4]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;4]; ;+;-1];1]&text5=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;5]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;5]; ;+;-1];1]&text6=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;6]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;6]; ;+;-1];1]&text7=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;7]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;7]; ;+;-1];1]&text8=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;8]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;8]; ;+;-1];1]&text9=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;9]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;9]; ;+;-1];1]&text10=$replaceText[$replaceText[%$checkCondition[$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;10]; ;+;-1]==]%;%true%;undefined!;1];%false%;$replaceText[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;10]; ;+;-1];1]&background=$getServerVar[leaderbackground]]
- $onlyIf[$getLeaderboardValue[$getVar[leadertype];$getVar[leadervar];asc;1]!=;No one in the server has a value setted (check the leadertype and leadervar variables if you think this is a bug)]
- $onlyIf[$checkContains[$getVar[leadertype];user;globalUser;server]==true;The variable leadertype needs a valid value type, variable types are: user, globalUser and server, set the variable value of "leadertype" with any of those.]
- $varExistError[leadertype;Add the vairable "leadertype", value must be a variable type, such as "user"]
- $varExistError[leadervar;Add the variable "leadervar", value must be a variable name, such as "money"]
- $varExistError[leaderbackground;Add the variable "leaderbackground", value must be a background URL, or you can just keep it empty to use the default one!]
- $suppressErrors[Hey! it seems that either you didn't enabled BDscript 2 or the api is down, to know if the api is down, join here: https://dsc.gg/codes and check the #api-status channel!]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement