Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $eval
- try{
- var xpMade = $rollnum(1,5)
- var level$ID = (level$ID == null) ? 1 : level$ID += 0;
- var xp$ID = (xp$ID == null) ? xpMade : xp$ID += xpMade;
- //idea taken from Doggo Man aka chris the legend [Festive Doggo#6049]
- //code edited by •OofyOofOof•#2018
- var tolvlup = level$ID * 125;
- if(xp$ID + xpMade>=tolvlup) {
- xp$ID -= xp$ID
- level$ID += 1
- };
- var Msgforlvl = ""
- var output = ""
- if(xp$ID === 0) {Msgforlvl = "🥳 **You are now level" + " `" + encodeURIComponent(level$ID) + "` 🥳**"};
- //sub to blackknight683
- //sub to festive doggo [Doggo images]
- if(Msgforlvl !== "") {var output = decodeURI(Msgforlvl)};
- }catch(oofy) {var output = ""}
- $halt $get(output)
Add Comment
Please, Sign In to add comment