Jump to content

GamerDanny09

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by GamerDanny09

  1. So Im Trying To Make It When You Break A Block You Cant Place A Block Where That Block Was Broken And After 10 Seconds The Block You Broke Comes Back
    Also If You Place A Block When You Break It The Block Wont Reappear After 10 Seconds Like The First Thing I Was Talking About
    Here's The Code
     

    on break:
      cancel drops
      delete drops
      if gamemode of player is survival:
        if world of player is "BR":
          if location of event-block is not {PlacedBlock::*}:
            add location of event-block to {BrokenBlock::*}
            set {_Block} to type of event-block
            wait 10 seconds
            remove location of event-block from {BrokenBlock::*}
            set event-block to {_Block}
    
    on place:
      if gamemode of player is survival:
        if world of player is "BR":
          if y-coordinate of event-block >= 178:
            cancel event
          if location of event-block is {BrokenBlock::*}:
            cancel event
          if y-coordinate of event-block < 178:
            if location of event-block is not {BrokenBlock::*}:
              add location of event-block to {PlacedBlock::*}
              wait 10 seconds
              remove location of event-block from {PlacedBlock::*}
              set event-block to air

    Please Help!

     

  2. So Pretty Much I'm Making A Game And You Can Break Blocks But At The End Of The Round It Resets All The Blocks
    So Similar To This.
    when u break the block at end of round is sets the block back to the original block so it needs to be like this.
    on break:

      cancel drops

      delete drops

      set {_Block} to event-block #This Part Also Saves Other Things Not Just The Block Itself It Saves Location And Sum Stuff

      while {Regen} is false:

        wait 1 second

      while {Regen} is true:

        set event-block to {_Block}

    #The {Regen} Is Use At End Of The Rounds For A Split Second To Regen Blocks But It Still Wont Work!

  3. This Is My Code:
    on right click:
        if name of player's tool is "&c&lMagic Toy Stick":
            make player execute command "shoot"
            
    command /shoot:
        cooldown: 5 seconds
        cooldown message: &cYou Must Wait But You Can Shoot Again In &a%remaining time%
        permission: shoot.yes
        trigger:
            make player shoot fireball at speed 1.3

×
×
  • Create New...