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.3K
BotServer send position #38
This uses OTClient bot server, setup with Vitrax config.vBot
on pagedown press it'll send the position of current player to bot server and all chars will try to run to that pos.
417b | 12 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.
 ]]--
singlehotkey("PageDown", "Run to pos", function()
    BotServer.send("pos", { pos = { x = posx(), y = posy(), z= posz()} })
end)
BotServer.listen("pos", function(name, message)
    if name ~=  player:getName() then
        local pos = message["pos"]
        if autoWalk(pos, 4000, { ignoreNonPathable = true}) then
        else
            BotServer.send("broadcast", "Not possible to walk.")
        end
    end
end)

10 Jun 2021
Ads