Placed On Block Event?

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

  • 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.

masouod

Member
Jun 19, 2020
1
0
0
23
Hello
is there any event that says if a block is placed on another (lava) ?
basically what I wanna do is that I made a delayed block remover, (which deleted placed blocks after x seconds ), but the problem with that is that if the block placed on lava, the lava source (or fire or...) gets deleted and the block as well, so I wanna make it that after the block deleted, lava gets back
so yea... is there any "placed on block" event?
Thanks
 
You can check if there's a block under using the "on place" event.
Code:
on place:
  if block under placed block is lava:
    # do stuff
Not tested, you can try event-block or event-location if this doesn't work.

senge1337
Owner of FallenMC
 
Status
Not open for further replies.