Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. local SSTime = 3
  2. local LogBefore = 2
  3. local timeNow = 0
  4. while (true) do
  5. if(Self.isInPz()) then
  6. if(timeNow >= (SSTime-LogBefore) and timeNow < SSTime) then
  7. Walker.Stop()
  8. end
  9. else
  10. for k, v in pairs(os.date("*t")) do
  11. if(k == 'hour') then
  12. timeNow = tonumber(v)
  13. end
  14. end
  15. end
  16. wait(1000)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement