Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. function OnLoad()
  2. Framework = Include( "OfficialGrinderFramework/GrinderFramework.lua" );
  3. Framework:OnLoad();
  4. end
  5.  
  6. function OnRun()
  7. if not Settings.AllowInsaneCpuConsumption or Player:GetTargetId() == 0 then
  8. Framework:OnRun();
  9. end
  10. end
  11.  
  12. function OnFrame()
  13. Framework:OnFrame();
  14. if Settings.AllowInsaneCpuConsumption and Player:GetTargetId() ~= 0 then
  15. Framework:OnRun();
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement