Jump to content
  • 0

(Need Help) In Skript how would I make it so placed blocks in a certain region vanish after a set amount of time?


FireClawInfinity

Question

1 answer to this question

Recommended Posts

  • 1

Hey boss
I would add all the blocks to a list variable (when they are placed).
Then I would make a loop for the amount of time. Then set the blocks to air.
 

on place:
	add location of event-block to {blocks::*}

every 10 seconds:
	loop {blocks::*}:
		set block at location of loop-value to air

Haven't tested but I'm pretty sure this should work.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...