Apply Potion Effect (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.0, 2.14 (syntax rework)

Syntax

(apply|grant) %skriptpotioneffects% to %livingentities% [for %-timespan%]

Description

Applies a potion effect to an entity.

Examples

apply swiftness 2 to the player
command /strengthboost:
	trigger:
		apply strength 10 to the player for 5 minutes
apply the potion effects of the player's tool to the player

View source