Advertisement
Brucord-Xloxn1296

Untitled

Sep 24th, 2023
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.63 KB | None | 0 0
  1. $nomention
  2.  
  3. $try
  4.  
  5. $var[customID;$customID]
  6. $if[$or[$checkContains[$var[customID];ipage]==true;$checkContains[$var[customID];ilast]==true;$checkContains[$var[customID];ifirst]==true;$checkContains[$var[customID];@page]==true]==true]
  7. $textSplit[$var[customID];-]
  8.  
  9.  
  10.  
  11. $if[$splitText[2]==$authorID]
  12.  
  13.  
  14. $var[type;$splitText[3]]
  15. $var[scope;$splitText[4]]
  16.  
  17.  
  18. $if[$var[scope]==]
  19. $var[scope;user]
  20. $else
  21. $var[scope;$var[scope]]
  22. $endif
  23.  
  24. $if[$var[scope]==user]
  25. $var[scope2;Server]
  26. $else
  27. $var[scope2;Global]
  28. $endif
  29.  
  30. $if[$var[type]==upgrades]
  31. $title[Upgrades $var[scope2] Leaderboard]
  32. $endif
  33. $if[$var[type]==tp]
  34. $title[Toilet Paper $var[scope2] Leaderboard]
  35. $endif
  36. $if[$var[type]==level]
  37. $title[Level $var[scope2] Leaderboard]
  38. $endif
  39. $if[$var[type]==tppersec]
  40. $title[TPpS $var[scope2] Leaderboard]
  41. $endif
  42. $if[$var[type]==votecount]
  43. $title[Vote Count $var[scope2] Leaderboard]
  44. $endif
  45. $if[$var[type]==votestreak]
  46. $title[Vote Streak $var[scope2] Leaderboard]
  47. $endif
  48. $if[$var[type]==net]
  49. $title[Net Value $var[scope2] Leaderboard]
  50. $endif
  51.  
  52.  
  53.  
  54. $var[Made by Xloxn#4050;$replaceText[$replaceText[$replaceText[$replaceText[$replaceText[$try🥇 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;1;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;1;id]]¿“@(~)@“?$catch $endtry$try🥈 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;2;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;2;id]]¿“@(~)@“?$catch $endtry$try🥉 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;3;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;3;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;4;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;4;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;5;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;5;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;6;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;6;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;7;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;7;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;8;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;8;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;9;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;9;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;10;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;10;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;11;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;11;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;12;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;12;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;13;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;13;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;14;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;14;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;15;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;15;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;16;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;16;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;17;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;17;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;18;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;18;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;19;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;19;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;20;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;20;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;21;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;21;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;22;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;22;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;23;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;23;id]]¿“@(~)@“?$catch $endtry$try🔹 `$numberSeparator[$getLeaderboardValue[$var[scope];$var[type];asc;24;value]]` - $username[$getLeaderboardValue[$var[scope];$var[type];asc;24;id]]¿“@(~)@“?$catch $endtry;🔹;🔹 ;-1];🥇;🥇 ;-1];🥈;🥈 ;-1];🥉;🥉 ;-1];-;-;-1]]$endasync
  55. $textSplit[$getUserVar[leaderboardfooter]; ]
  56. $var[pages;$splitText[4]]
  57.  
  58. $textSplit[$var[customID];]
  59.  
  60. $if[$checkContains[$var[customID];ilast]==true]
  61. $var[amount;$var[pages]]
  62. $elseif[$checkContains[$var[customID];ifirst]==true]
  63. $var[amount;1]
  64. $else
  65. $textSplit[$var[customID];]
  66. $var[amount;$splitText[6]]
  67. $endif
  68.  
  69.  
  70. $textSplit[$var[customID];]
  71. $if[$checkContains[$var[customID];ifirst]==true]
  72. $var[amount;1]
  73. $elseif[$checkContains[$var[customID];ilast]==true]
  74. $var[amount;$var[pages]]
  75. $else
  76. $if[$splitText[7]==-]
  77. $var[amount;$splitText[6]]
  78. $else
  79. $if[$splitText[8]!=-]
  80. $if[$splitText[9]!=-]
  81. $var[amount;$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  82. $else
  83. $var[amount;$splitText[6]$splitText[7]$splitText[8]]
  84. $endif
  85. $else
  86. $var[amount;$splitText[6]$splitText[7]]
  87. $endif
  88. $endif
  89.  
  90. $endif
  91.  
  92. $if[$or[$var[amount]==1;$checkContains[$var[customID];ifirst]==true]==true]
  93. $var[sum;$sub[$multi[8;$var[amount]];8]]
  94. $else
  95. $var[sum;$sub[$multi[8;$var[amount]];8]]
  96. $endif
  97.  
  98. $textSplit[$var[Made by Xloxn#4050];¿“@(~)@“?]
  99.  
  100. $color[$getVar[color;$authorID]]
  101.  
  102. $c[// Where the magic happens 😎]
  103.  
  104.  
  105. $description[
  106. $splitText[$sum[$var[sum];1]]
  107. $splitText[$sum[$var[sum];2]]
  108. $splitText[$sum[$var[sum];3]]
  109. $splitText[$sum[$var[sum];4]]
  110. $splitText[$sum[$var[sum];5]]
  111. $splitText[$sum[$var[sum];6]]
  112. $splitText[$sum[$var[sum];7]]
  113. $splitText[$sum[$var[sum];8]]
  114. ]
  115.  
  116. $if[$splitText[$sum[$var[sum];1]]==]
  117. $description[This isn’t a bug, its a feature 🤓👍
  118. ||jk, i’m too lazy to fix this so pls go back||]
  119. $endif
  120.  
  121. $enableDecimals[yes]
  122. $if[$checkContains[$divide[$getTextSplitLength;9];.]==true]
  123. $textSplit[$divide[$getTextSplitLength;9];.]
  124. $var[pages;$sum[$splitText[1];1]]
  125. $else
  126. $var[pages;$divide[$getTextSplitLength;9]]
  127. $endif
  128. $footer[Page $var[amount] of $var[pages]]
  129. $textSplit[$var[inv];¿“@(~)@“?]
  130.  
  131.  
  132. $removeButtons
  133.  
  134. $c[// Change button emojis if you’d like, if you do so make sure to go to the first command and change it from there]
  135.  
  136. $if[$var[amount]!=1]
  137. $addButton[no;ifirst-$authorID-$var[type]-$var[scope];;secondary;no;<:doubleleft:1074439914508259380>]
  138. $addButton[no;ipage$sub[$var[amount];1]-$authorID-$var[type]-$var[scope];;secondary;no;<:left:1074391292445982742>]
  139. $else
  140. $addButton[no;ifirst-$authorID-$var[type]-$var[scope];;secondary;yes;<:doubleleft:1074439914508259380>]
  141. $addButton[no;ipage$sub[$var[amount];1]-$authorID-$var[type]-$var[scope];;secondary;yes;<:left:1074391292445982742>]
  142. $endif
  143.  
  144.  
  145. $addButton[no;@page$var[amount]-$authorID-$var[type]-$var[scope];;secondary;no;<:refresh:1075846996671336488>]
  146.  
  147. $if[$var[amount]!=$var[pages]]
  148. $addButton[no;ipage$sum[$var[amount];1]-$authorID-$var[type]-$var[scope];;secondary;no;<:right:1074388595936350229>]
  149. $addButton[no;ilast-$authorID-$var[type]-$var[scope];;secondary;no;<:doubleright:1074439859529334826>]
  150. $else
  151. $addButton[no;ipage$sum[$var[amount];1]-$authorID-$var[type]-$var[scope];;secondary;yes;<:right:1074388595936350229>]
  152. $addButton[no;ilast-$authorID-$var[type]-$var[scope];;secondary;yes;<:doubleright:1074439859529334826>]
  153. $endif
  154.  
  155.  
  156. $else
  157. $color[$getVar[color;$authorID]]
  158. $removeButtons
  159. $ephemeral
  160. $description[This isn’t for you!]
  161. $endif
  162. $endif
  163.  
  164. $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement