daily pastebin goal

Shitcheat auto-updater 1.1

Caliber_ Nov 11th, 2017 621 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.  The reason for the update was for added functionality in Shitcheat.
  2. CreateConVar("SCAA", 1, 2048)
  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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand