Custom Crate Skript?

Discussion in 'Skript' started by Stoian, Jan 26, 2020.

  1. Hello, I tried to do a custom crates skript. But I need your help guys because I don't know how to do some things...
    Let me tell you what the role of the skript is:

    At a random moment, to announce on chat that a crate was spawned. Give the exact coordinates of the crate, so that the players can go to it.

    After a player has reached him, around the crate to be an area of his, and if you are in it you will have glow, and if you get out of it the glow will disappear.

    When you are in this area the countdown begins. After 60 seconds (let's say) count starts. When the count is over, the crate disappears and the player receives items in inventory.

    If another player comes, you will have to fight because only one player can get the crate.
     
  2. which part you don't know?
     
  3. all of them, I have an idea how to do some of them, but don't work...
     
  4. use random number to generate coordinates for crate and a chance of x every x seconds