Advertisement
King0fGamesYami

Hive Pastebin Installer

Apr 28th, 2015
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. local handle = http.get( "https://raw.githubusercontent.com/lupus590/CC-Hive/master/src/Shared/installer.lua" )
  2. if handle then
  3.  local install = handle.readAll()
  4.  local func, err = loadstring( install )
  5.  if not func then
  6.   error( err, 0 )
  7.   return
  8.  end
  9.  setfenv( func, getfenv() )
  10.  local success, msg = pcall( func, ... )
  11.  if not success then
  12.   error( msg, 0 )
  13.  end
  14. else
  15.  error( "download failed", 0 )
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement