Global booster

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

Laxpraxleo

Member
Jun 20, 2025
1
0
1
Hello Skunity, i want to make a global block booster but i'm very new to skript.
I want the skript to double all the blocks that are given to players after a block break.
I also need the fortune to work for all blocks and have the fortune be added to the booster.
Addidtionally i also want the essentials money balance to be increased by 2x instead of one when there is a booster going on.
If anyone can help that would be much appreciated! :emoji_slight_smile:
 
Code:
on block break:
    if {booster} is set:
        drop all drops of event-block

command /booster <number>:
    permission: booster.use
    trigger:
        set {booster} to arg-1
        send "&6Booster activated for &b%arg-1%&6 seconds!" to all players
        send action bar "&eBooster time left: &b%{booster}% seconds" to all players

every 1 second:
    if {booster} is set:
        subtract 1 from {booster}
        if {booster} = 1:
            send action bar "&eBooster time left: &b%{booster}% second" to all players
            wait 1 second
            send action bar " " to all players
            delete {booster}
            send "&aBooster has ended." to all players
        else:
            send action bar "&eBooster time left: &b%{booster}% seconds" to all players