every 1 second: loop all players: if off hand item of loop-player is {@item5}: apply fire resistance 1 to loop-player for 999999 second apply speed 3 to loop-player for 999999 second apply health boost 3 to loop-player for 999999 second apply strength 2 to loop-player for 999999 second loop all players: if off hand item of loop-player is not {@item5}: remove fire resistance from loop-player remove health boost from loop-player remove speed from loop-player remove strength from loop-player