Hi,
I'm trying to make it so that players can only sit on slabs of the "bottom" type (the ones placed on the ground), and not on other types of slabs.
But I’m having trouble figuring out how to detect the slab type in Skript, so I’m asking for some help to do it properly.
PS: I'm really new to Skript, so please feel free to be detailed or explain things if they’re a bit complex
my code so far:
on right click:
if player is not on ground:
stop
if player is sneaking:
stop
if vehicle of player is set:
stop
if event-block is tagged as tag "stairs":
if event-block is tagged as tag "slabs" and type of event-block is "bottom":
I'm trying to make it so that players can only sit on slabs of the "bottom" type (the ones placed on the ground), and not on other types of slabs.
But I’m having trouble figuring out how to detect the slab type in Skript, so I’m asking for some help to do it properly.
PS: I'm really new to Skript, so please feel free to be detailed or explain things if they’re a bit complex
my code so far:
on right click:
if player is not on ground:
stop
if player is sneaking:
stop
if vehicle of player is set:
stop
if event-block is tagged as tag "stairs":
if event-block is tagged as tag "slabs" and type of event-block is "bottom":