Cancel Event (Effect) — Skript
Addon: Skript · Category: Effect · Since: 1.0
Syntax
cancel [the] eventDescription
Cancels the event (e.g. prevent blocks from being placed, or damage being taken).
Examples
on damage:
victim is a player
victim has the permission "skript.god"
cancel the event