Is Sneaking (Condition) — Skript

Addon: Skript · Category: Condition · Since: 1.4.4

Syntax

%players% (is|are) sneaking

Description

Checks whether a player is sneaking.

Examples

# prevent mobs from seeing sneaking players if they are at least 4 meters apart
on target:
	target is sneaking
	distance of target and the entity is bigger than 4
	cancel the event

View source