Events.StatusEffectRemoved(function(event)
if (event.statusEffect == StatusEffectType.TITANS_BLESSING) then
local player = event.entity:getPlayer()
if (player == nil) then
return
end
SoundService.playSoundForPlayer(player, SoundType.TITAN_IDLE_4)
end
end)
Parameters
entity:
The entity that had the status effect removed from it.
statusEffect:
The type of status effect that was removed from the entity.