Here you go
options:
Consume Message: &6You ate a gapple!
You are on a Cooldown: &cYou need to wait before eating that again!
Cooldown Expired: &aYour gapple cooldown has expired
on consume of golden apple:
if {GappleCooldown::%player's uuid%} is not set:
set {GappleCooldown::%player's uuid%} to true
send "{@Consume Message}"
wait 10 seconds
send "{@Cooldown Expired}"
else:
cancel event
send "{@You are on a Cooldown}"