im having trouble creating a food item to check the current health of the player
on collect do
if health<maxhealth then
health += 1
elseif health==maxhealth then
giving me a error im not sure what im doing wrong.