EntityConvertToMaterial(GetUpdatedEntityID(), "gold")
EntityKill(GetUpdatedEntityID())
GamePrintImportant("enemy was converted to gold", "", "mods/lewd_noita/files/sex_logic/ui_msg.png")
local player_x, player_y = EntityGetTransform(EntityGetWithTag("player_unit")[1])
GamePlaySound("data/audio/Desktop/ui.bank", "ui/streaming_integration/voting_end", player_x, player_y)