Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PLEASE READ BEFORE ASKING FOR HELP:
- Make the trigger your prefix thats it
- for example: “!” not “!highlow”, but when running the command say “!hl” or “! highlow”
- If you do end up with any problems, Join this server https://discord.gg/JcENFCf and either ping me (Xloxn#4050) or wait for someone else
- _________________
- Variables (REQUIRED OTHERWISE IT WONT WORK):
- hlnumber = N/A
- hint = N/A
- Money = 0
- ________________
- Trigger: (prefix)
- Script : BDscript 2
- $nomention
- $if[$checkContains[$toLowercase[$message[1]];hl;highlow]==true]
- $color[$randomText[#f9c941;#932cf3;#24a39b]]
- $var[hint;$optOff[$random[1;100]]]
- $setUserVar[hlnumber;$optOff[$random[1;100]];$authorID]
- $setUserVar[hint;$var[hint];$authorID]
- $authorIcon[$authorAvatar]
- $author[$username’s high-low game]
- $description[I just chose a secret number between **1** and **100**.
- Is the secret number *higher* or *lower* than **$var[hint]**]
- $footer[The jackpot button is if you thonk it’s the same!]
- $addButton[no;lower-$authorID;Lower;primary;no;]
- $addButton[no;jackpot-$authorID;JACKPOT!;primary;no;]
- $addButton[no;higher-$authorID;Higher;primary;no;]
- $endif
- __________________________
- Trigger: $onInteraction
- Script: BDscript 2
- $nomention
- $if[$customID==lower-$authorID]
- $if[$getUserVar[hint;$authorID]>$getUserVar[hlnumber;$authorID]]
- $authorIcon[$authorAvatar]
- $author[$username’s winning high-low game]
- $description[**You won ⏣ $numberSeparator[$random[1000;5000];,]**!
- Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
- $editButton[lower-$authorID;Lower;primary;yes;]
- $editButton[jackpot-$authorID;JACKPOT;secondary;yes;]
- $editButton[higher-$authorID;Higher;secondary;yes;]
- $color[1da72b]
- $footer[Multi Bonus: +50% (⏣ $numberSeparator[$divide[$random[1000;5000];2];,])]
- $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$random[1000;5000]];$authorID]
- $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$divide[$random[1000;5000];2]];$authorID]
- $else
- $authorIcon[$authorAvatar]
- $author[$username’s winning high-low game]
- $description[**You lost!**
- Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
- $editButton[lower-$authorID;Lower;primary;yes;]
- $editButton[jackpot-$authorID;JACKPOT!;secondary;yes;]
- $editButton[higher-$authorID;Higher;secondary;yes;]
- $color[e13c3c]
- $footer[imagine being dog water]
- $endif
- $endif
- $if[$customID==jackpot-$authorID]
- $if[$getUserVar[hint;$authorID]==$getUserVar[hlnumber;$authorID]]
- $authorIcon[$authorAvatar]
- $author[$username’s winning high-low game]
- $description[**You won ⏣ $numberSeparator[$random[1000;5000];,]**!
- Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
- $editButton[lower-$authorID;Lower;secondary;yes;]
- $editButton[jackpot-$authorID;JACKPOT!;primary;yes;]
- $editButton[higher-$authorID;Higher;secondary;yes;]
- $color[1da72b]
- $footer[Multi Bonus: +50% (⏣ $numberSeparator[$divide[$random[1000;5000];2];,])]
- $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$random[1000;5000]];$authorID]
- $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$divide[$random[1000;5000];2]];$authorID]
- $else
- $authorIcon[$authorAvatar]
- $author[$username’s winning high-low game]
- $description[**You lost!**
- Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
- $editButton[lower-$authorID;Lower;secondary;yes;]
- $editButton[jackpot-$authorID;JACKPOT!;primary;yes;]
- $editButton[higher-$authorID;Higher;secondary;yes;]
- $color[e13c3c]
- $footer[imagine being dog water]
- $endif
- $endif
- $if[$customID==higher-$authorID]
- $if[$getUserVar[hint;$authorID]<$getUserVar[hlnumber;$authorID]]
- $authorIcon[$authorAvatar]
- $author[$username’s winning high-low game]
- $description[**You won ⏣ $numberSeparator[$random[1000;5000];,]**!
- Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
- $editButton[lower-$authorID;Lower;secondary;yes;]
- $editButton[jackpot-$authorID;JACKPOT!;secondary;yes;]
- $editButton[higher-$authorID;Higher;primary;yes;]
- $color[1da72b]
- $footer[Multi Bonus: +50% (⏣ $numberSeparator[$divide[$random[1000;5000];2];,])]
- $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$random[1000;5000]];$authorID]
- $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$divide[$random[1000;5000];2]];$authorID]
- $else
- $authorIcon[$authorAvatar]
- $author[$username’s winning high-low game]
- $description[**You lost!**
- Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
- $editButton[lower-$authorID;Lower;secondary;yes;]
- $editButton[jackpot-$authorID;JACKPOT!;secondary;yes;]
- $editButton[higher-$authorID;Higher;primary;yes;]
- $color[e13c3c]
- $footer[imagine being dog water]
- $endif
- $endif
Add Comment
Please, Sign In to add comment