Created: 3 days ago on 06/16/2025, 01:18:38 PMUpdated: 3 days ago on 06/16/2025, 01:55:21 PM
Size: 1040
Description: Add mount name and your character serial in configuration part.
-- >>>>> Configuration <<<<<
local MOUNT_NAME = "xxxxxx" -- The exact name of your mount
local DISMOUNT_SERIAL = 'xxxxxx' -- Your character serial
-- >>>>> Configuration <<<<<
local foundMobiles = Mobiles.FindByFilter({
name = MOUNT_NAME,
rangemax = 20,
dead = false,
human = false
})
local actualMount = nil
if foundMobiles and #foundMobiles > 0 then
for _, mob in ipairs(foundMobiles) do
if mob.Name == MOUNT_NAME then
actualMount = mob
break
end
end
end
if actualMount then
if actualMount.Distance <= 1 then
Player.UseObject(actualMount.Serial)
elseif actualMount.Distance >= 1 then
Player.Say(MOUNT_NAME .. " Follow Me")
end
else
Player.UseObject(DISMOUNT_SERIAL)
end
Version History
Version 1 - 6/16/2025, 1:55:21 PM - 3 days ago
Mount/Dismount with one key
Original Version Saved - 6/16/2025, 1:18:38 PM - 3 days ago