Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pause then unpause
#1
hello, im looking for a script that can pause all functions of the bot when a player enters the screen , then when the player leaves the screen then after a time limit the bot will resume all actions again.
Reply

#2
local DELAY_UNPAUSE = { Min = 1000, Max = 5000 } -- In milliseconds.

local playersCount = paround()
local isBotPaused = botpaused()
if playersCount > 0 and isBotPaused == false then
    pausebot(true)
elseif playersCount == 0 and isBotPaused then
    wait(DELAY_UNPAUSE.Min, DELAY_UNPAUSE.Max)
    pausebot(false)
end
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.
this isnt working says something to do with if on line 5
Reply

#4
I can't guess errors, so you may paste it here.
I think i've fixed it.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016