i want spawn entity with stick, but not work
code_language.skript:
on rightclick with stick:
set {_lore::*} to uncolored lore of player's tool split at "||"
loop {_lore::*}:
add loop-value parsed as "Entity: %string%" to {_entity::*}
add loop-value parsed as "Age: %string%" to {_age::*}
set {_entity} to "%{_entity::*}%"
set {_age} to "%{_age::*}%"
spawn a {_entity} at location of player
set age of last spawned entity to {_age}