How to set a block then delete it

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

DuckOfMagic

New Member
Jul 30, 2024
6
2
3
'on entity target:
make event-entity invisible
add "ellomate" to scoreboard tags of event-entity

on zombie move:
if event-entity has the scoreboard tag "ellomate":
set block at location of event-entity to brown carpet'

how do i make it so after a bit it deletes
skript 1.21
 
'on entity target:
make event-entity invisible
add "ellomate" to scoreboard tags of event-entity

on zombie move:
if event-entity has the scoreboard tag "ellomate":
set block at location of event-entity to brown carpet'

how do i make it so after a bit it deletes
skript 1.21
Set the position of the target block to a variable, then after a while set the block at that location (If it's brown carpet) to air.