• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient anty kick script

Makin

New Member
Joined
Sep 17, 2018
Messages
37
Solutions
1
Reaction score
2
Hello, can someone tell me why this script does not loop
Lua:
antykick = {}
local dance = 1000
local dance1 = 4000

function antykick.anty()
    local oldDir = g_game.getLocalPlayer():getDirection()
    direction = oldDir + 1
    if direction > 3 then
      direction = 0
    end

    addEvent(function() g_game.turn(direction) end)
    scheduleEvent(function() g_game.turn(oldDir) end, dance)

   return dance1
end


function antykick.connect()
  antykick.anty()
end

function antykick.disconnect()
end
 
Back
Top