Check if block is on another block, wait, then check again

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

Axon

Member
Oct 3, 2021
2
0
1
my english ain't good, so I will try to describe my problem in as simple as possible:

what I want to do:

if a block (campfire in my case) is placed on bedrock
send message "ABC"
wait about 30 seconds
if the block is still on bedrock
execute command /TWin
else
execute command /CWin

my code which does not work (of course):

on place of campfire:
block below is bedrock
message "bomb has been planted" to player
wait 10 ticks
if block below is bedrock
execute player command "TWin"
else
execute player command "CWin"
 
Status
Not open for further replies.