Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $c[for ppl using the pastebin there should be a “copy” button on the top right simply click that and paste it into bdfd, and make sure to fill out the variables below]
- $c[// Credits: Xloxn#4050, If you publish it even though you may have modify it, you shall give me credit… or else…]
- $c[// Make sure to enable BDscript 2]
- $var[var_name;variable-here]$c[<====
- ⚠️ Put your var name in here otherwise the code wont work ⚠️]
- $var[type;user] $c[<====
- ¢setVar(var:authorID) = globalUser
- ¢setUserVar(var) = user
- ¢setServerVar(var) = server]
- $var[separator1;] $c[<=====
- eg: $, would look like:
- `$10,000,000` - Xloxn
- 📝 Note: if you wish to do something like this `Level 10` with a “space” in between, put a space after the “separator1”]
- $var[separator2;] $c[<====
- eg: Money, would look like:
- `1,000,000` Money - Xloxn
- 📝 Note: if you wish to do something like this `1,000,000 Money` with a “space” in between, put a space before the “separator2”]
- $var[1emoji;1️⃣]
- $var[2emoji;2️⃣]
- $var[3emoji;3️⃣]
- $var[4emoji;4️⃣]
- $var[5emoji;5️⃣]
- $var[6emoji;6️⃣]
- $var[7emoji;7️⃣]
- $var[8emoji;8️⃣]
- $var[9emoji;9️⃣]
- $var[10emoji;🔟]
- $nomention
- $title[$username[$botID]’s Leaderboard]
- $addTimestamp
- $description[
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]!=] ⠀$var[1emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;1;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]!=]⠀$var[2emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;2;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]!=]⠀$var[3emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;3;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]!=]⠀$var[4emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;4;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]!=]⠀$var[5emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;5;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;6;id]!=]⠀$var[6emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;6;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;6;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;7;id]!=]⠀$var[7emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;7;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;7;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;8;id]!=]⠀$var[8emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;8;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;8;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;9;id]!=]⠀$var[9emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;9;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;9;id]]$endif
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;10;id]!=]⠀$var[10emoji] **$var[separator1]$numberSeparator[$getLeaderboardValue[$var[type];$var[var_name];asc;10;value];,]$var[separator2]** - $username[$getLeaderboardValue[$var[type];$var[var_name];asc;10;id]]$endif
- ]
- $color[#2f3136]
- $if[$getLeaderboardValue[$var[type];$var[var_name];asc;10;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;6;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;7;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;8;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;9;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;10;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value],$getLeaderboardValue[$var[type];$var[var_name];asc;4;value],$getLeaderboardValue[$var[type];$var[var_name];asc;5;value],$getLeaderboardValue[$var[type];$var[var_name];asc;6;value],$getLeaderboardValue[$var[type];$var[var_name];asc;7;value],$getLeaderboardValue[$var[type];$var[var_name];asc;8;value],$getLeaderboardValue[$var[type];$var[var_name];asc;9;value],$getLeaderboardValue[$var[type];$var[var_name];asc;10;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;9;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;6;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;7;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;8;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;9;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value],$getLeaderboardValue[$var[type];$var[var_name];asc;4;value],$getLeaderboardValue[$var[type];$var[var_name];asc;5;value],$getLeaderboardValue[$var[type];$var[var_name];asc;6;value],$getLeaderboardValue[$var[type];$var[var_name];asc;7;value],$getLeaderboardValue[$var[type];$var[var_name];asc;8;value],$getLeaderboardValue[$var[type];$var[var_name];asc;9;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;8;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;6;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;7;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;8;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value],$getLeaderboardValue[$var[type];$var[var_name];asc;4;value],$getLeaderboardValue[$var[type];$var[var_name];asc;5;value],$getLeaderboardValue[$var[type];$var[var_name];asc;6;value],$getLeaderboardValue[$var[type];$var[var_name];asc;7;value],$getLeaderboardValue[$var[type];$var[var_name];asc;8;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;7;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;6;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;7;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value],$getLeaderboardValue[$var[type];$var[var_name];asc;4;value],$getLeaderboardValue[$var[type];$var[var_name];asc;5;value],$getLeaderboardValue[$var[type];$var[var_name];asc;6;value],$getLeaderboardValue[$var[type];$var[var_name];asc;7;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;6;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;6;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value],$getLeaderboardValue[$var[type];$var[var_name];asc;4;value],$getLeaderboardValue[$var[type];$var[var_name];asc;5;value],$getLeaderboardValue[$var[type];$var[var_name];asc;6;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;5;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;5;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value],$getLeaderboardValue[$var[type];$var[var_name];asc;4;value],$getLeaderboardValue[$var[type];$var[var_name];asc;5;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;4;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;4;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value],$getLeaderboardValue[$var[type];$var[var_name];asc;4;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;3;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;3;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value],$getLeaderboardValue[$var[type];$var[var_name];asc;3;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;2;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]','$username[$getLeaderboardValue[$var[type];$var[var_name];asc;2;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value],$getLeaderboardValue[$var[type];$var[var_name];asc;2;value]]
- $elseif[$getLeaderboardValue[$var[type];$var[var_name];asc;1;value]!=]
- $var[Box;'$username[$getLeaderboardValue[$var[type];$var[var_name];asc;1;id]]']
- $var[Value;$getLeaderboardValue[$var[type];$var[var_name];asc;1;value]]
- $else
- $description[No data available…]
- $stop
- $endif
- $image[https://quickchart.io/chart?w=500&h=250&bkg=white&c={type:%27bar%27,data:{labels:[$url[encode;$var[Box]]\],datasets:[{label:['Leaderboard'\],data:[$var[Value]\],borderColor:['rgb(255,99,132)','rgb(255,159,64)','rgba(255,205,88,255)','rgba(103,197,197,255)','rgba(54,162,235,255)','rgba(153,102,255,255)','rgb(112,121,223)','rgb(32,161,184)','rgb(239,40,180)'\],backgroundColor:['rgba(255,99,132,0.5)','rgba(255,159,64,0.5)','rgba(255,230,171,255)','rgba(165,223,223,255)','rgba(155,208,245,255)','rgba(204,179,255,255)','rgba(112,121,223,0.5)','rgba(32,161,184,0.5)','rgba(239,40,180,0.4)'\],borderWidth:1,}\]}}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement