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.
1.8K
Creature Distance from Player #104
Shows text on a creature with distance from player.
204b | 5 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  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))
end)

24 Aug 2022
Ads