1. 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 comminuty!

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

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Please help me with this! I need it!

Discussion in 'Skript' started by gamer_YT762, Jun 15, 2021.

Thread Status:
Not open for further replies.
  1. gamer_YT762

    gamer_YT762 Member

    Joined:
    Jun 9, 2021
    Messages:
    19
    Likes Received:
    0
    Hey! Im making a clicker type server, where if you kill mobs, you get multi. Here comes the part that i need you to code. I want to make like gens wich you place down, it will start spawning mobs. Many thanks if you can make it!
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    40
    There are multiple skripts that already do that, and you are in the wrong section - this is for help only if you want something to get coded use https://forums.skunity.com/forums/requests/

    But this is your solution:
    Code (Text):
    1. on place of stone:
    2.   add location of event-block to {spawner::*}
    3.  
    4. on break of stone:
    5.   if {spawner::*} contains event-location:
    6.     remove event-location from {spawner::*}
    7.  
    8. every 1 second:
    9.   loop {spawner::*}:
    10.     spawn a zombie at loop-value
     
  3. gamer_YT762

    gamer_YT762 Member

    Joined:
    Jun 9, 2021
    Messages:
    19
    Likes Received:
    0
    thanks, i didnt see your answer!
     
  4. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    40
    please mark this as solved :emoji_slight_smile:
     
Thread Status:
Not open for further replies.

Share This Page

Loading...