StatusEffectRemoved
Fires when a Status Effect is removed from an Entity.
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: Entity
statusEffect: StatusEffectType
Last updated