Jump to content

BOXEY

Member
  • Posts

    166
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by BOXEY

  1. hi is it possible to make it go down one block each time it give the player the block

    every 5 real seconds in world "world":
        loop all players:
            if {Drillona::%loop-player%} is not set:
                set {Block} to block under location of {Drill::%loop-player%}
                add {Block} to loop-player
                stop
    
    on click on beehive:
        if {Drillona::%player%} is not set:
            open virtual chest inventory with size 3 named "&cDrill GUI" to player
            format gui slot 14 of player with red wool named "&c&lCollect Drill" to run:
                set block at location of {Drill::%player%} to air
                set {Drillona::%player%} to false
                send action bar "&c&lYou Have Mined A Drill" to player
                add beehive of unbreaking 10 named "&b&lDrill" to player
            format gui slot 12 of player with green wool named "&a&lUpgrade Drill"
    
            format gui slot 13 of player with orange wool named "&a&lStop Drill" to run:
                set {Drillona::%player%} to false
                send action bar "&6&lYou Have Stopped The Drill" to player
        else:
            open virtual chest inventory with size 3 named "&cDrill GUI" to player
            format gui slot 14 of player with red wool named "&c&lCollect Drill" to run:
                set block at location of {Drill::%player%} to air
                set {Drillona::%player%} to false
                send action bar "&c&lYou Have Mined A Drill" to player
                add beehive of unbreaking 10 named "&b&lDrill" to player
            format gui slot 12 of player with green wool named "&a&lStart Drill" to run:
                delete {Drillona::%player%}
                send action bar "&a&lYou Have Started The Drill" to player
    
    on place of beehive:
        set {Drill::%player%} to location of event-block
        set {Drillona::%player%} to false
        set {Block::%player%} to location of event-block
        send action bar "&a&lA Drill Has Been Placed" to player
    
    on break of beehive:
        cancel event

     

  2. I don't know if this is what you need but this is what I made

    options:
        prefix: &6Stack &7>>
    
    command /stack:
        permission: stack.use
        permission message: {@prefix} &cNo Permission
        trigger:
            if tool of player is air:
                send "{@prefix} &7&lNo Item Named"
            else:
                set {_g} to 64
                set {_i} to held item of player
                set {_a} to amount of {_i} in player's inventory
                if {_a} is more than or equal to 64:
                    send "{@prefix} You already Have 64 Of This Item"
                else:
                    remove {_a} from {_g}
                    wait 5 ticks
                    give player {_g} of {_i} 
                    send "{@prefix} Stacked Your Item"

     

     

                                                                               Discord ----- Boxmonk#7877

  3. My /sell skript is not working it loops the last bit of code

     

        set {price::coal} to 5
    
        set {sell::coal} to coal
    
    options:
        prefix: &6Money &7>>
        sellout: &6Sell &7>>
    
    
    command /sell:
        trigger:
            loop {sell::*}:
                set {_items} to loop-value
                set {_amount} to number of {_items} in player's inventory
                if {_amount} is more than 0:
                    remove {_amount} of {_items} from player's inventory
                    set {_block} to "%loop-index%"
                    set {_g} to (({_amount} * {price::%{_block}%}) * ({%uuid of player%::booster} + 1))
                    add {_amount} to {Totali}
                    add {_g} to  {_Total}
                if {_Total} is more than 0:
                    send "{@prefix} You Sold All Items For &a$%{_Total}%"
                    add {_Total} to player's balance

     

     

    Discord ---- Boxmonk#7877

  4. On 5/4/2020 at 9:33 AM, st3ve_3 said:

    what do i do with that im noob sry, cuase i did put that in the skript but didnt work

     

    do

    on item damage:
    
      cancel event

    it should cancel any item damage

     

     

    Discord -- Boxmonk#7877

  5. 6 hours ago, ReportCards said:

    Have you tried putting in debug messages? Where does it stop at? What is the reason of the issues?

    there is no error it does not give the player the money they got but it takes the items they are selling

  6. So my /sell skript does not work it does not give them the money or say the money them got

     

    Please Help

     

     

    on load:
        clear {sell::*}
        clear {price::*}
        
        set {sell::coal} to coal named "&7Coal &8(&eRight click&8)"
    
        set {price::coal} to 5
    
    
    options:
        prefix: &6Money &7>>
        sellout: &6Sell &7>>
    
    
    command /sellop:
        trigger:
            loop {sell::*}:
                set {_items} to loop-value
                set {_amount} to number of {_items} in player's inventory
                if {_amount} is more than or equal to 0:
                    remove {_amount} of {_items} from player's inventory
                    set {_block} to "%loop-value%"
                    set {_g} to (({_amount} * {price::%{_block}%}) * ({%uuid of player%::booster} + 1))
                    add {_amount} to {Totali}
                    add {_g} to  {_TotalAmount}
                if {_TotalAmount} is more than 0:
                    send "{@prefix} You Sold All Your Items For %{_TotalAmount}%"
                    add {_TotalAmount} to {bal::%player%}
                else:
                    send "{@sellout} No Items To Sell"

     

  7. So I made a respawn beacon skript and I need to make it so other players can break the block to get rid of the other players respawn point

    Skript:

    on place of gold block:
      set {beacon::%player%} to event-block
      add 0.5 to y-coordinate of {beacon::%player%}
      send "&a&lRespawn Beacon Placed" to player


    on break of gold block:
      send "&c&lRespawn Beacon Broken" to player
      set event-block to bedrock
      delete {beacon::%player%}
      wait 15 ticks
      set event-block to air
      


    command /home:
      aliases: /homes
      trigger:
        if {beacon::%player%} is set:
          teleport player to {beacon::%player%}
          send "&a&l Teleported To Respawn Beacon" to player
        else:
          send "&c&lNo Respawn Beacon Set" to player

  8. This is only half complete there is no why to stop the skript after the place of the block

    if anyone wants to help me Figure that out that will be nice

    on place of white wool:
      set {drop} to event-block
      add 0.5 to y-coordinate of {drop}


    every 5 seconds:
      drop 1 cobblestone at {drop}

    DISCORD - boxmonkeyqb#7877

×
×
  • Create New...