Advertisement
epitaque_

Untitled

Oct 29th, 2015
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. if GameMode == nil then
  2.     DebugPrint( "[BAREBONES] creating barebones game mode" )
  3.     _G.GameMode = class({})
  4. else
  5.     print("Script reload")
  6.     for _, hero in pairs(HeroList:GetAllHeroes()) do
  7.         print("starting timer ", _)
  8.         Timers:CreateTimer(0, function()
  9.             print("fadsf")
  10.             GameMode:Player_MoveKeys(hero)
  11.             return 1/30
  12.         end)
  13.     end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement