#check player is frozen

1 messages · Page 1 of 1 (latest)

hard halo
#

how to do that

icy spoke
#

Frozen in what context, if you mean powered snow, your best bet is probably check if the block the player is standing every tick is powderer snow and If it you know they are frozen after 2-3 seconds.

midnight halo
#

player.getVelocity() !=== 0

#

idk

hard halo
midnight halo
#

i thought you meant if player stopped movement

#

but if you mean powdered snow forzen,

#

then benjamin might be right

frosty folio
#

Can't you just check damage?

frosty folio
# hard halo how to do that
world.afterEvents.entityHurt.subscribe(({ damageSource: { cause }, hurtEntity }) => {
  console.error(cause);
  if (cause === 'freezing') {}
});```
midnight halo
#

Ah, didn't know freezing cause existed