Furnace damage while smelting

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!


Aug 3, 2022
Ukraine, Kyiv
I want that while the furnace is melting it will deal damage to the player

i tried using different triggers
on smelt: - does not work
on fuel burn: - does not work
on join: - works all the time, even when it is not melting

on smelt:
    wait 1 tick
    while player is alive:
        loop all blocks in radius 1 around the player:
            if loop-block is a furnace:
                damage player by 0.5
        wait 1 second