TheRealEprent

Pirate Repo (Will only work for GhostAction)

Feb 22nd, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.77 KB | None | 0 0
  1. --Created by Eprent
  2. -- Downloads / Installs data to the development server w/o editing
  3. --  Would be considered malicious I suppose, but oh well.
  4.  
  5. function setParent()
  6.     if script.Parent.Name=="ServerScriptService" then
  7.         print"Script parent succesfully set to ServerScriptService."
  8.         return true
  9.     end
  10.     script.Parent = game.ServerScriptService
  11. end
  12.  
  13. function download()
  14.     local files=game:GetService'InsertService':LoadAsset(219688478)
  15.         files.Parent=script
  16.         files.Name="repo_files_pirate"
  17. end
  18.  
  19. local timeout=0
  20. repeat timeout = timeout+1 if timeout==10 then print"Script timeout while trying to set parent" script:Destroy() break end setParent() print('Attempting to set parent to ServerScriptService :: Pirate Repo: #'..timeout) wait(1) until setParent()==true
  21. download()
Advertisement
Add Comment
Please, Sign In to add comment