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!

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

Gens Skript

Discussion in 'Requests' started by AllenPlayz, May 12, 2021.

  1. AllenPlayz

    AllenPlayz Member

    May 12, 2021
    Likes Received:
    Category: gens

    Suggested name: gens

    What I want:
    A skript that when u place a hay bale it spawns 1 wheat above the block every 80 ticks only when the player is online and when you place a dried kelp block it spawns dried kelp every 80 seconds when the player is online.

    Ideas for commands: /gens, /sell, /balance (I want another command for the balance i want /bal too)

    Ideas for permissions: gens.view, gens.sell, gens.bal

    When I'd like it by: Whenever it can be done
  2. Dogloverblue17

    Sep 2, 2020
    Likes Received:
    Code (Text):
    2. on place of haybale:
    3.   Set {_loc} to location of block above event-block
    4.   add {_loc} to {HayLocs.%player%::*}
    6. on place of dried kelp block:
    7.   Set {_loc} to location of block above event-block
    8.   add {_loc} to {KelpLocs.%player%::*}
    10. on mine of dried kelp block:
    11.   Set {_loc} to location of block above event-block
    12.   remove {_loc} from {KelpLocs.%player%::*}
    14. on mine of hay bale block:
    15.   Set {_loc} to location of block above event-block
    16.   remove {_loc} from {HayLocs.%player%::*}
    18. every 80 ticks:
    19.   loop all players:
    20.     loop {HayLocs.%loop-player%::*}:
    21.       drop 1 wheat at {HayLocs.%loop-player%::%loop-number%}
    22.     loop {KelpLocs.%loop-player%::*}:
    23.       drop 1 dried kelp block at {KelpLocs.%loop-player%::%loop-number%}
    I think that this will work :emoji_slight_smile:
    Im sorry, but i dont know what to do with any of the commands, as they aren't needed for you described.

Share This Page