View Full Version : Anti face script
garre93
12-14-2015, 03:00 AM
Like the title says. Seen it on other bots, really usefull on retro pvp :)
anoyn
12-14-2015, 03:28 AM
Like the title says. Seen it on other bots, really usefull on retro pvp :)
Module.New('antiFacePlayer', function(antiFacePlayer)
local pos = Self.LookPos()
PlayersOnScreen = Self.GetSpectators()
if Self.TargetID() ~= 0 then
for i = 1, #PlayersOnScreen do
if PlayersOnScreen[i]:isAlive() and PlayersOnScreen[i]:isPlayer() and
(PlayersOnScreen[i]:Position().x == pos.x and
PlayersOnScreen[i]:Position().y == pos.y and
PlayersOnScreen[i]:Position().z == pos.z) then
Self.Turn(math.abs(Self.LookDirection() - 1))
end
end
end
end)
xLogOnSkull = false
lastAlertTime = 0
Module.New('skullAlert', function(skullAlert)
skullID = Self.Skull()
if skullID == 1 or skullID == 4 or skullID == 3 and os.time() - lastAlertTime > 15 then
alert()
lastAlertTime = os.time()
if( xLogOnSkull) then
os.exit()
end
end
skullAlert:Delay(1000)
end)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.