Need Help With Block Generators Skript

  • 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 community!

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Aug 9, 2020
1
0
0
This is my first time skripting so I need a little help. I'm trying to create a skript that allows certain blocks to generate items. I need help creating a skript that only enables certain blocks, for example stone to generate an item instead of ALL stone blocks generating items.


Here is what I have so far:

on place of stone:
send action bar "&a&lSuccess! &7You have placed a &cStone Generator&7!" to player
every 6 seconds:
loop all players:
loop all blocks in radius 10 around loop-player:
if loop-block is stone:
drop a gunpowder named "&e&lStone Powder" at loop-block's position

I appreciate it if you're able to help!
 
Status
Not open for further replies.