Time Lived of Entity (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.13

Syntax

[the] time (alive|lived) of %entities%

Description

Returns the total amount of time the entity has lived. Note: This does not reset when a player dies.

Examples

clear all entities where [input's time lived > 1 hour]
on right click on entity:
	send "%entity% has lived for %time lived of entity%" to player

View source