What's new

Skrypt na ANTY RS

Status
Not open for further replies.

TinaMK

Advanced User
Joined
Apr 20, 2012
Messages
173
Reaction score
2
Witam, czy m?g?by mi kto? pom?c ze skryptem do xenobota (10.99) na anty rs?

mianowicie mam na my?li, ?e bot wpisuj? !frags co np 10 sekund i je?li pojawi si? Frags:3 wy??cza przyk?adowo targeting i cavebot, a je?li si? da, ?eby wy??cza? magic shooter w targetingu?
 

TinaMK

Advanced User
Joined
Apr 20, 2012
Messages
173
Reaction score
2
Odp: Skrypt na ANTY RS

refreshhh plz help, potrzebuje jakiegos anty rsa do xeno :(
 

askara76

Advanced User
Joined
Oct 31, 2016
Messages
180
Reaction score
7
Odp: Skrypt na ANTY RS

Trzymaj:


Cimciaj Bigos dzi?ki, ?e zauwa?y?e? b??d bo skopiowa?em skrypt i nie wgra?em go na wklej.org a chcia?em mu da? skrypt do elfbota i xenoxbota
 
Last edited:

Ciamciaj Bigos

ก้้้้้้&
Joined
Jun 6, 2013
Messages
2,081
Reaction score
192
Odp: Skrypt na ANTY RS

[MENTION=440378]askara76[/MENTION] to jest skrypt do elfbota. On potrzebuje do xenobota.

[lua]-- script by Rif

local players = {}

local hited = {}



function _getPlayers(range)

for _, c in Creature.iPlayers(range) do

name = c:Name()

return true

end

return false

end



function _insertPlayers()

for _, c in Creature.iPlayers(range) do

if not _tableContains(players, c:Name()) then

players[#players + 1] = c:Name()

print('Added to list '..c:Name())

end

end

end



function _tableContains(table, nick)

for i = 1, #table do

if table == nick then

setName = table

return true

end

end

return false

end



function _checkLifeStatus(hpperc)

if _tableContains(hited, setName) then

local player = Creature.New(setName)

local self = Creature.GetByID(Self.ID())

if player:isOnScreen() and player:HealthPercent() <= hpperc then

if self:Skull() == 3 then

print('I killed him omg, exiting..')

wait(2000)

os.exit()

end

end

end

end



BattleMessageProxy.OnReceive('server', function(proxy, text)

if _getPlayers(7) then

if _tableContains(players, name) then

dmg = text:match('%d')

if text:find(setName) and text:find('your attack.') then

if not _tableContains(hited, setName) then

hited[#hited + 1] = setName

print('You hit '.. setName ..' for '.. dmg ..'.')

else

if setName ~= nil then

print('You hit '.. setName ..' for '.. dmg ..'.')

end

end

end

end

end

end)



Module.New('Anti-Rs', function()

_insertPlayers()

_checkLifeStatus(0)

end)[/lua]
 
Status
Not open for further replies.
Top