daily pastebin goal
42%
SHARE
TWEET

Shitcheat auto-updater 1.0

Caliber_ Oct 18th, 2017 (edited) 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --This script is a light-weight, automatic update script for shitcheat.  When it is run, it adds a console command (loadSC), which, when run, fetches the newest version of shitcheat from the server, and then runs it.  This was designed to be the most effective with the least amount of effort.
  2.  
  3. concommand.Add("loadSC",function(_)_:ChatPrint"Grabbing the latest Shitcheat"local
  4. _=""http.Fetch("http://shitcheat.me/latest.txt",function(a,b,c,d)_=a
  5. RunString(_)end,function(_,e)Msg"Could not update."e:PrintMessage(HUD_PRINTCONSOLE,"Failed to contact the server.  Either you aren't connected to the internet or the site is down")end)end)
RAW Paste Data
Top