Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Watch this if you haven't: https://youtu.be/eLcOvoRCZ8c
- IF YOU NEED HELP, YOU CAN ASK HERE:
- https://dsc.gg/codes
- HELLO, THIS IS THE WHOLE LEVELING SYSTEM CODE, I RECOMMEND YOU TO USE THE SHARECODE ( GA9Gbji1gPH3nE7qdCmfb9pCd ) INSTEAD OF HAVING TO COPY ALL THIS, BUT IF YOU HAVE THAT MUCH TIME TO COPY ALL THE COMMANDS, GO AHEAD.
- BEFORE STARTING, KNOW THAT ALL THE COMMANDS IN THIS PASTEBIN ARE SEPARATED BY THE SEPARATOR OF ===== BELOW, SO, EACH OF THOSE SYMBOLS SEPARATE A DIFFERENT COMMAND.
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- VARIABLES THAT YOU NEED TO ADD, WITH THEIR VALUES:
- custombg
- value=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQz8TueHUgVNroUgCgN5d35oo5Kg_LuFN6CHToIXL4pPSK-AL8FXgjEyBUcJlg97sMcrqg&usqp=CAU
- talk
- value=0
- level
- value=0
- req
- value=250
- levelmsg
- value=**{username}** You leveled up! your new level is {level}
- lvlchannel
- value=
- lvlblacklisted
- value=
- role5
- value=
- role10
- value=
- role15
- value=
- role20
- value=
- role25
- value=
- role30
- value=
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- GAIN EXP CODE, YOU NEED TO ADD THIS CODE IN A COMMAND FOR EACH LETTER, (from a-z to A-Z or the whole alphabet of your country, one command per letter as trigger) ALSO MAKE SURE TO ENABLE UNSTABLE MODE ON ALL THE COMMANDS:
- $nomention
- $c[ Please, don't edit the code if you don't know how it works, you can broke it! use the variables instead and ENABLE UNSTABLE MODE!]
- $cooldown[2s;]
- $if[$getUserVar[talk]>$getUserVar[req]]
- $setUserVar[level;$sum[$getUserVar[level];1]]
- $setUserVar[req;$sum[$getUserVar[req];$random[0;60]]]
- $setUserVar[talk;0]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $channelSendMessage[$replaceText[$replaceText[%$checkCondition[$getServerVar[lvlchannel]==]%;%true%;$channelID;1];%false%;$getServerVar[lvlchannel];1];$replaceText[$replaceText[$replaceText[$replaceText[$getServerVar[levelmsg];{username};$username;-1];{level};$sum[$getUserVar[level];1];-1];{mention};<@$authorID>;-1];{user.id};$authorID;-1]]
- $else
- $setUserVar[talk;$sum[$getUserVar[talk];$random[1;35]]]
- $endif
- $onlyIf[$checkContains[$getServerVar[lvlblacklisted];$channelID]==false;]
- $suppressErrors
- $c[LEVEL UP ROLES BELOW - MAKE SURE TO GIVE THE BOT "MANAGEROLES" PERMISSIONS IF YOU WILL SET LEVEL REWARDS!]
- $if[$roleExists[$getServerVar[role5]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role5]]==5false]
- **$username** Congratulations, you're level 5 now, and got rewarded with the role **$roleName[$getServerVar[role5]]**!
- $giveRole[$authorID;$getServerVar[role5]]
- $else
- $endif
- $else
- $endif
- $if[$roleExists[$getServerVar[role10]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role10]]==10false]
- **$username** Congratulations, you're level 10 now, and got rewarded with the role **$roleName[$getServerVar[role10]]**!
- $giveRole[$authorID;$getServerVar[role10]]
- $else
- $endif
- $else
- $endif
- $if[$roleExists[$getServerVar[role15]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role15]]==15false]
- **$username** Congratulations, you're level 15 now, and got rewarded with the role **$roleName[$getServerVar[role15]]**!
- $giveRole[$authorID;$getServerVar[role15]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role15]]==false;]
- $else
- $endif
- $else
- $endif
- $if[$roleExists[$getServerVar[role20]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role20]]==20false]
- **$username** Congratulations, you're level 20 now, and got rewarded with the role **$roleName[$getServerVar[role20]]**!
- $giveRole[$authorID;$getServerVar[role20]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role20]]==false;]
- $else
- $endif
- $else
- $endif
- $if[$roleExists[$getServerVar[role25]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role25]]==25false]
- **$username** Congratulations, you're level 25 now, and got rewarded with the role **$roleName[$getServerVar[role25]]**!
- $giveRole[$authorID;$getServerVar[role25]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role25]]==false;]
- $else
- $endif
- $else
- $endif
- $if[$roleExists[$getServerVar[role30]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role30]]==30false]
- **$username** Congratulations, you're level 30 now, and got rewarded with the role **$roleName[$getServerVar[role30]]**!
- $giveRole[$authorID;$getServerVar[role30]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role30]]==false;]
- $else
- $endif
- $else
- $endif
- $suppressErrors
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- RANK CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $color[$random[111111;999999]]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $image[https://vacefron.nl/api/rankcard?username=$replaceText[$username[$mentioned[1;yes]]; ;+;-1]&avatar=$replaceText[$userAvatar[$mentioned[1;yes]]?size=4096;webp;jpg;-1]&level=$getUserVar[level;$mentioned[1;yes]]&rank=¤txp=$replaceText[$sub[$getUserVar[talk;$mentioned[1;yes]];35];-;;1]&nextlevelxp=$replaceText[$getUserVar[req;$mentioned[1;yes]];-;;1]&previouslevelxp=0&custombg=$getUserVar[custombg;$mentioned[1;yes]]&xpcolor=F8F8F9&isboosting=false&circleavatar=true]
- $footer[$replaceText[$replaceText[%$checkCondition[$username[$mentioned[1;yes]]==$username[$authorID]]%;%true%;You;1];%false%;$username[$mentioned[1;yes]];1] need $sum[$replaceText[$sub[$getUserVar[talk;$mentioned[1;yes]];$getUserVar[req;$mentioned[1;yes]]];-;;1];35] more of EXP to level up]
- $onlyIf[$isBot[$mentioned[1;yes]]==false;**$username** Well.. you can't see the level of a bot]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- BLACKLIST CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $color[$random[111111;999999]]
- $c[ ENABLE UNSTABLE MODE! ]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $author[Blacklisted!]
- $description[**$username** Successfully blacklisted the channel <#$mentionedChannels[<]>, now users won't be able to gain EXP there!
- You can unblacklist the channel back by doing +unblacklist #channel]
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $setServerVar[lvlblacklisted;$getServerVar[lvlblacklisted], $mentionedChannels[<] ]
- $onlyAdmin[**$username** only administrators can set this!]
- $onlyIf[$channelExists[$mentionedChannels[<]]==true;**$username** Please, mention a valid channel to blacklist]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- UNBLACKLIST CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $color[$random[111111;999999]]
- $c[ ENABLE UNSTABLE MODE! ]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $author[Unblacklisted!]
- $description[Successfully unblacklisted the channel <#$mentionedChannels[<]>, now users would've able to gain EXP there again]
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $setServerVar[lvlblacklisted;$replaceText[$getServerVar[lvlblacklisted];$mentionedChannels[<]; ;-1]]
- $onlyAdmin[**$username** only administrators can set this!]
- $onlyIf[$channelExists[$mentionedChannels[<]]==true;**$username** Please, mention a valid channel to blacklist]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- SETMSG CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $color[$random[111111;999999]]
- $c[ ENABLE UNSTABLE MODE! ]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $author[Level up message setted]
- $description[Successfully setted the level up message to:
- ```$message```
- When someone level up, i'll send that message!
- $replaceText[$replaceText[%$checkContains[$message;{username};{user.id};{level}]%;%true%;;-1];%false%;**WARNING**: You didn't setted any FUNCTION, it is recommended to set {functions} in the leveling message, such as: **+setmsg {username} You leveled up to level {level}, congratulations!**;1]]
- $setServerVar[levelmsg;$message]
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $onlyIf[$message!=;**$username** Wrong! please type a valid message, you can also use special functions such as {username}, {level} and {user.id}, for example: `**{username}** you leveled up to level {level}`!]
- $onlyAdmin[**$username** only administrators can set this!]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- SET LVLCHANNEL CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $color[$random[111111;999999]]
- $c[ ENABLE UNSTABLE MODE! ]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $author[Setted leveling channel!]
- $if[$message[1]==off]
- $description[**$username** Now i'll send the level up messages in the channel in where the user leveled up!]
- $else
- $description[**$username** Now i'll send the level up messages in the <#$mentionedChannels[<]> channel! to disable this, just do t!lvlchannel off]
- $endif
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $if[$message[1]==off]
- $setServerVar[lvlchannel; ]
- $else
- $setServerVar[lvlchannel;$mentionedChannels[>]]
- $endif
- $onlyAdmin[**$username** only administrators can set this!]
- $onlyIf[$message!=;**$username** Please, mention a valid channel to set as level up channel, or do **t!lvlchannel off** to set it as default]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- SET RANKCARD BACKGROUND CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $onlyIf[$checkContains[$message;https://;http://;img;.com;.net;.es;.;:;//;/;.jpg;.png;.gif;.webp;q=;images?;image?;img?;encrypted]==true;**$username** Please, make sure you wrote a valid background image URL]
- $color[$random[111111;999999]]
- $c[ ENABLE UNSTABLE MODE! ]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $author[Background setted]
- $description[Successfully setted the custom background for your rank card!]
- $setUserVar[custombg;$message[1]]
- $image[$message]
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- SET ROLE REWARD CODE (REQUIRE UNSTABLE MODE EANBLED):
- $nomention
- $color[$random[111111;999999]]
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $c[ ENABLE UNSTABLE MODE! ]
- $if[$message[2]!=off]
- $setServerVar[role$message[1];$findRole[$message[2]]]
- $description[Successfully setted the role <@&$findRole[$message[2]]> as reward for level **$message[1]**!
- When users level up to level **$message[1]** i'll give them that role
- **If you want to remove the reward for certain level, just do +setreward 5 off** (example)]
- $onlyIf[$roleExists[$findRole[$message[2]]]==true;**$username** please, type a valid role ID, mention or name, example: +setreward 5 @role]
- $onlyIf[$message[2]!=;**$username** please, type a valid role ID, mention or name, example: +setreward 5 @role]
- $else
- $setServerVar[role$message[1];]
- $description[Successfully removed the role reward for the level **$message[1]**!
- When users level up to level **$message[1]** i won't give them any role]
- $endif
- $onlyIf[$message[2]!=;**$username** please, type a valid role ID, mention or name, example: +setreward 5 @role]
- $onlyIf[$checkContains[$message[1];5;10;15;20;25;30]==true;**$username** please, type a valid level from: **5, 10, 15, 20, 25** and **30**, example: +setreward 5 @role]
- $onlyPerms[manageroles;**$username** You need manage roles permissions to do this!]
- $onlyBotPerms[manageroles;**$username** Sorry, but i need manage roles permissions to do this, make sure to give me that permission!]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- CHECK REWARDS CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $color[$random[111111;999999]]
- $author[Role rewards]
- $c[ Code by Berk#3506 | YT: Bot Designer For Discord: Guide | DM if errors ]
- $c[ ENABLE UNSTABLE MODE! ]
- $description[You get awesome roles by leveling up, below you can see a list of them!
- __**Level 5**__
- Role: $replaceText[$replaceText[%$checkCondition[$getServerVar[role5]==]%;%true%;Not setted;1];%false%;<@&$getServerVar[role5]>;1]
- Progress: Level $getUserVar[level]/5 $replaceText[$replaceText[%$checkCondition[$getUserVar[level]>=5]%;%true%;(Reached);1];%false%;(Not reached yet);1]
- __**Level 10**__
- Role: $replaceText[$replaceText[%$checkCondition[$getServerVar[role10]==]%;%true%;Not setted;1];%false%;<@&$getServerVar[role10]>;1]
- Progress: Level $getUserVar[level]/10 $replaceText[$replaceText[%$checkCondition[$getUserVar[level]>=10]%;%true%;(Reached);1];%false%;(Not reached yet);1]
- __**Level 15**__
- Role: $replaceText[$replaceText[%$checkCondition[$getServerVar[role15]==]%;%true%;Not setted;1];%false%;<@&$getServerVar[role15]>;1]
- Progress: Level $getUserVar[level]/15 $replaceText[$replaceText[%$checkCondition[$getUserVar[level]>=15]%;%true%;(Reached);1];%false%;(Not reached yet);1]
- __**Level 20**__
- Role: $replaceText[$replaceText[%$checkCondition[$getServerVar[role20]==]%;%true%;Not setted;1];%false%;<@&$getServerVar[role20]>;1]
- Progress: Level $getUserVar[level]/20 $replaceText[$replaceText[%$checkCondition[$getUserVar[level]>=20]%;%true%;(Reached);1];%false%;(Not reached yet);1]
- __**Level 25**__
- Role: $replaceText[$replaceText[%$checkCondition[$getServerVar[role25]==]%;%true%;Not setted;1];%false%;<@&$getServerVar[role25]>;1]
- Progress: Level $getUserVar[level]/25 $replaceText[$replaceText[%$checkCondition[$getUserVar[level]>=25]%;%true%;(Reached);1];%false%;(Not reached yet);1]
- __**Level 30**__
- Role: $replaceText[$replaceText[%$checkCondition[$getServerVar[role30]==]%;%true%;Not setted;1];%false%;<@&$getServerVar[role30]>;1]
- Progress: Level $getUserVar[level]/30 $replaceText[$replaceText[%$checkCondition[$getUserVar[level]>=30]%;%true%;(Reached);1];%false%;(Not reached yet);1]
- ]
- $footer[Level up to get those awesome roles!]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- SET LEVEL CODE (REQUIRE UNSTABLE MODE ENABLED):
- $nomention
- $author[Level setted]
- $color[$random[111111;999999]]
- $description[Successfully setted the level of <@$mentioned[<]>, now that user is level $noMentionMessage]
- $setUserVar[level;$noMentionMessage;$mentioned[<]]
- $onlyIf[$isNumber[$noMentionMessage]==true;Please, type a valid level!]
- $onlyIf[$mentioned[1]!=;Please, mention a user!]
- $addTimestamp
- $footer[Executed by $username]
- $onlyAdmin[Only admins can set users level!]
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- ====================================================================================
- IF YOU NEED HELP, YOU CAN ASK HERE:
- https://dsc.gg/codes
- MAKE SURE YOU COPIED ALL WELL!
Add Comment
Please, Sign In to add comment