Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
Creature Distance from Player #104
Shows text on a creature with distance from player.
204b | 5 lines.
  Script made by Lee (Discord: l33_) -
  If you want to support my work, feel free to donate at
  PS. Stop ripping off my work and selling it as your own.
onCreaturePositionChange(function(creature, oldPos, newPos)
  if newPos == nil then return end
  if not creature:isCreature() then return end
  creature:setText(getDistanceBetween(pos(), newPos))

24 Aug 2022