Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- πγ‘Variables
- talk = 0
- level = 0
- req = 250
- levelmsg = **{username}** You are now level {level}
- lvlchannel =
- custombg = https://cdn.discordapp.com/attachments/997759760793346068/997775287301443594/Wolcken_Background.png
- role1 =
- role5 =
- role10 =
- role15 =
- role20 =
- role25 =
- role30 =
- role40 =
- role50 =
- role100 =
- __code 1__
- Triggers : !rank
- Script : Unstable mode
- $reply
- $onlyIf[$guildID!=;βγ‘ Hey $username, unfortunately I can't help you in the DM's]
- $nomention
- $title[π | __Level__ ]
- $color[00ffa3]
- $description[$replaceText[$replaceText[%$checkCondition[$username[$mentioned[1;yes]]==$username[$authorID]]%;%true%;$username;1];%false%;$ username[$mentioned[1;yes]];1] requires `$sum[$replaceText[$sub[$getUserVar[talk];$getUserVar[req]];-;;1];35]` more EXP until next level.
- π| Current Level : **(Level $getUserVar[level])**
- $onlyIf[$isBot[$mentioned[1;yes]]==false;**$username** Well.. you can't see the level of a bot]
- $footer[Executed by $username]
- $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]
- __code 2__
- Trigger : !set-level
- Script : Unstable mode
- $nomention
- $onlyIf[$guildID!=;βγ‘ Hey $username, unfortunately I can't help you in the DM's]
- $title[βοΈγ‘Level Set]
- $description[Level set successfully <@$mentioned[<]>, Now this user is level $noMentionMessage]
- $footer[Executed by $username]
- $color[00ffa3]
- $setUserVar[level;$noMentionMessage;$mentioned[<]]
- $onlyIf[$isNumber[$noMentionMessage]==true;Please enter a level!]
- $onlyIf[$mentioned[1]!=;Please mention a user!]
- __Code 3__
- Triggers : !setmsg
- Script : Unstable mode
- $nomention
- $onlyIf[$guildID!=;βγ‘ Hey $username, unfortunately I can't help you in the DM's]
- $color[$random[111111;999999]]
- $c[ UNSTABLE MODE! ]
- $c[ Code from BDFD Network ]
- $author[message posted]
- $description[Level up message successfully set to:
- ```$message```
- If anyone levels up, I'll send this message!
- $replaceText[$replaceText[%$checkContains[$message;{username};{user.id};{level}]%;%true%;;-1];%false%;**Warning**: You have no FUNCTION set, it is recommended to set {functions} in the leveling message, such as:**l!setmsg {username} You leveled up{level}, congratulations!**;1]]
- $setServerVar[levelmsg;$message]
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $onlyIf[$message!=;**$username** Incorrect! Please enter a valid message, you can also use special functions such as {username}, {level} & {user.id}, for example: `**{username}** You have leveled up {level}`! ]
- $onlyAdmin[**$username** only admins can set this!]
- __Code 4__
- Trigger : t!setchannel
- Script : Unstable mode
- $nomention
- $onlyIf[$guildID!=;βγ‘ Hey $username, unfortunately I can't help you in the DM's]
- $color[00ff90]
- $c[ ENABLE UNSTABLE MODE! ]
- $c[ Code from BDFD Network]
- $author[channel set!]
- $if[$message[1]==off]
- $description[**$username** Now I'll send the level up messages to the channel where the user has leveled up!]
- $else
- $description[**$username** Now I'm sending level up messages in <#$mentionedChannels[<]> channel!]
- $endif
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $if[$message[1]==off]
- $setServerVar[lvlchannel; ]
- $else
- $setServerVar[lvlchannel;$mentionedChannels[>]]
- $endif
- $onlyAdmin[<:Cross:962060831598735360>γ‘**$username** Sorry, only admins can do that!]
- $onlyIf[$message!=;βγ‘**$username** Please provide a valid channel to set up as a level up channel]
- __Code 5___
- Trigger : t!setreward
- Script : Unstable mode
- $nomention
- $onlyIf[$guildID!=;βγ‘ Hey $username, unfortunately I can't help you in the DM's]
- $color[00ff90]
- $footer[Executed by $username#$discriminator[$authorID]]
- $addTimestamp
- $if[$message[2]!=off]
- $setServerVar[role$message[1];$findRole[$message[2]]]
- $description[The role was successfully set <@&$findRole[$message[2]]> as a reward for level **$message[1]**!
- When user reaches level **$message[1]** I give them this role]
- $onlyIf[$roleExists[$findRole[$message[2]]]==true;**$username** Please enter a valid role ID, mention or name, example: w!setreward 5 @role]
- $onlyIf[$message[2]!=;**$username** Please enter a valid role ID, mention or name, example: w!setreward 5 @role]
- $else
- $setServerVar[role$message[1];]
- $description[Successfully removed the role reward for the levell **$message[1]**!
- When users level up **$message[1]**I won't give them a role]
- $endif
- $onlyIf[$message[2]!=;**$username** Please enter a valid role ID, mention or name, example: w!setreward 5 @role]
- $onlyIf[$checkContains[$message[1];1;5;10;15;20;40;30;50;100]==true;**$username** Please enter a valid role ID, mention or name, example: **1.5, 10, 15,20, 40, 30,50,100** example: w!setreward 5 @role]
- $onlyPerms[manageroles;βγ‘**$username** You need permissions to manage roles!]
- $onlyBotPerms[manageroles;βγ‘**$username** Sorry but I need permissions to manage roles. Make sure you give me this permission!]
- __code 6___
- Triggers : a-z & A-Z
- Script : Unstable mode
- $note
- $onlyIf[$guildID!=;βγ‘ Hey $username, unfortunately I can't help you in the DM's]
- $cooldown[2s;]
- $if[$getUserVar[talk]>$getUserVar[req]]
- $setUserVar[level;$sum[$getUserVar[level];1]]
- $setUserVar[req;$sum[$getUserVar[req];$getServerVar[xpmulltiplicator]]]
- $setUserVar[talk;0]
- $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 YOU 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 are now level 5 and have been rewarded with the **$roleName[$getServerVar[role5]]** role!
- $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 are now level 10 and have been rewarded with the **$roleName[$getServerVar[role10]]** role!
- $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 are now level 15 and have been rewarded with the **$roleName[$getServerVar[role15]]** role!
- $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 are now level 20 and have been rewarded with the **$roleName[$getServerVar[role20]]** role!
- $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 are now level 25 and have been rewarded with the **$roleName[$getServerVar[role25]]** role!
- $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 are now level 30 and have been rewarded with the **$roleName[$getServerVar[role30]]** role!
- $giveRole[$authorID;$getServerVar[role30]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role30]]]==false;]
- $else
- $endif
- $else
- $endif
- $suppressErrors
- $if[$roleExists[$getServerVar[role30]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role40]]==40false]
- πγ‘**$username** Congratulations, you are now level 40 and have been rewarded with the **$roleName[$getServerVar[role40]]** role!
- $giveRole[$authorID;$getServerVar[role40]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role40]]]==false;]
- $else
- $endif
- $else
- $endif
- $if[$roleExists[$getServerVar[role30]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role50]]==50false]
- πγ‘**$username** Congratulations, you are now level 50 and have been rewarded with the **$roleName[$getServerVar[role50]]** role!
- $giveRole[$authorID;$getServerVar[role50]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role50]]]==false;]
- $else
- $endif
- $else
- $endif
- $if[$roleExists[$getServerVar[role100]]$checkUserPerms[$botID;manageroles]==truetrue]
- $if[$getUserVar[level]$hasRole[$authorID;$getServerVar[role100]]==100false]
- πγ‘**$username** Congratulations, you are now level 100 and have been rewarded with the **$roleName[$getServerVar[role100]]** role!
- $giveRole[$authorID;$getServerVar[role100]]
- $onlyIf[$hasRole[$authorID;$getServerVar[role100]]==false;]
- $else
- $endif
- $else
- $endif
Advertisement
Add Comment
Please, Sign In to add comment