Jump to content

Challenge me!!! With any Skripts


Recommended Posts

Do you think you could make me a skript that allows players to buy vertical and horizontal gen buckets to make base? For the horizontal if you could make the blocks obsidian cobblestone and sand, and for the horizontal just cobblestone and obsidian.

If you don't know what gen buckets are here is a video go to 2:30 to see

Also this is the skript I was already using but it doesn't have horizontal buckets 

command /genbucket:
    trigger:
        open chest inventory with 3 rows named "&d&lGenerator Buckets" to player
        set slot 0 of player's current inventory to black stained glass pane named " " 
        set slot 1 of player's current inventory to black stained glass pane named " " 
        set slot 2 of player's current inventory to black stained glass pane named " "
        set slot 3 of player's current inventory to black stained glass pane named " "
        set slot 4 of player's current inventory to black stained glass pane named " "
        set slot 5 of player's current inventory to black stained glass pane named " " 
        set slot 6 of player's current inventory to black stained glass pane named " " 
        set slot 7 of player's current inventory to black stained glass pane named " "
        set slot 8 of player's current inventory to black stained glass pane named " " 
        set slot 9 of player's current inventory to black stained glass pane named " "
        set slot 10 of player's current inventory to black stained glass pane named " "
        set slot 11 of player's current inventory to glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Obsidian"
        set slot 12 of player's current inventory to black stained glass pane named " "
        set slot 13 of player's current inventory to glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Cobblestone"
        set slot 14 of player's current inventory to black stained glass pane named " " 
        set slot 15 of player's current inventory to glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Sand"
        set slot 16 of player's current inventory to black stained glass pane named " "
        set slot 17 of player's current inventory to black stained glass pane named " "
        set slot 18 of player's current inventory to black stained glass pane named " "
        set slot 19 of player's current inventory to black stained glass pane named " "
        set slot 20 of player's current inventory to black stained glass pane named " "
        set slot 21 of player's current inventory to black stained glass pane named " "
        set slot 22 of player's current inventory to black stained glass pane named " "
        set slot 23 of player's current inventory to black stained glass pane named " "
        set slot 24 of player's current inventory to black stained glass pane named " "
        set slot 25 of player's current inventory to black stained glass pane named " "
        set slot 26 of player's current inventory to black stained glass pane named " "

on place:
    if event-item is lava:
        if name of player's held item is "&6&l✯ Gen - Bucket ✯ - Obsidian":
            if player's balance is greater than or equal to 10000:
                remove 10000 from player's balance
                cancel event
                set event-block to obsidian
                loop 256 times:
                    if block loop-number above event-block is bedrock:
                        stop loop
                        stop
                    if block loop-number above event-block is air:
                        wait 20 ticks
                        set block loop-number above event-block to obsidian
                    else:
                        stop loop
                        stop
            else:
                cancel event
                send "&cYou Do NOT meet the requirements to use this!" to player
on place:
    if event-item is lava:
        if name of player's held item is "&6&l✯ Gen - Bucket ✯ - Sand":
            if player's balance is greater than or equal to 5000:
                remove 5000 from player's balance
                cancel event
                set event-block to sand
                loop 256 times:
                    if block loop-number above event-block is bedrock:
                        stop loop
                        stop
                    if block loop-number above event-block is air:
                        wait 20 ticks
                        set block loop-number above event-block to sand
                    else:
                        stop loop
                        stop
            else:
                cancel event
                send "&cYou Do NOT meet the requirements to use this!" to player

on place:
    if event-item is lava:
        if name of player's held item is "&6&l✯ Gen - Bucket ✯ - Cobblestone":
            if player's balance is greater than or equal to 2000:
                remove 2000 from player's balance
                cancel event
                set event-block to cobblestone
                loop 256 times:
                    if block loop-number above event-block is bedrock:
                        stop loop
                        stop
                    if block loop-number above event-block is air:
                        wait 20 ticks
                        set block loop-number above event-block to cobblestone
                    else:
                        stop loop
                        stop
            else:
                cancel event
                send "&cYou Do NOT meet the requirements to use this!" to player

on inventory click:
    if event-slot is glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Obsidian":
        cancel event
        give player 1 of glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Obsidian" with lore "  &c&lType: &a&lObsidian" and "  &c&lCost: &a&l$10,000" and "  &c&lDirection: &a&lVerticle"
        send "&6&lGen Bucket Recieved" to player

on inventory click:
    if event-slot is glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Sand":
        cancel event
        give player 1 of glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Sand" with lore "  &c&lType: &a&lSand" and "  &c&lCost: &a&l$5,000" and "  &c&lDirection: &a&lVerticle"
        send "&6&lGen Bucket Recieved" to player

on inventory click:
    if event-slot is glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Cobblestone":
        cancel event
        give player 1 of glowing lava bucket named "&6&l✯ Gen - Bucket ✯ - Cobblestone" with lore "  &c&lType: &a&lCobblestone" and "  &c&lCost: &a&l$2,000" and "  &c&lDirection: &a&lVerticle"
        send "&6&lGen Bucket Recieved" to player

on inventory click:
    if event-slot is black stained glass pane named " ":
        cancel event

Edited by _Yum
Link to post
Share on other sites

How if you make a /nick command? Then it would open a gui and it would be a random nick, custom nick, color coding supported? If so could you send me a hastebin or pastebin? Thanks if you do it idk if you are active though.

Edited by Zrioxs
just because why do you even have to know?
 

Yes i am stupid.

 

chillins.PNG.ecd09b0ba2e9d6a607ea43e6315cccb2.PNG

Link to post
Share on other sites
On 8/2/2020 at 10:30 AM, Croomped said:

I dare you to make a Dupe Skript, Or A Ban-gui I need a bangui Thanks!

command dupe <int=1>:
  trigger:
  	give (arg * item amount of player's tool) to player's tool

This isn't a punishment gui but it is a punishment system: https://parser.skunity.com/f23ae123

[VIP] since 12/25/2019 AND/OR 1/7/2020

Support since 9/19/2020

 

5.png.e14b1bf83edf0ac2edc1bfb822177184.png

Link to post
Share on other sites
  • 1 month later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...