SHARE
TWEET

RUN THIS FIRST LOL

SirMeme Mar 15th, 2019 16,372 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local HttpService = game:GetService("HttpService")
  2.  
  3. local mt = debug.getmetatable(game) or getrawmetatable(game)
  4. local old = mt.__namecall
  5. local IsA = game.IsA;
  6. local set = setreadonly or make_writeable
  7.  
  8. if not set then
  9.     game.Players.LocalPlayer:Kick('sry ur exploit not compat')
  10. end
  11.  
  12. set(mt,false)
  13.  
  14. mt.__namecall = function(self,...)
  15.  
  16. local a = {...}
  17. local m = table.remove(a)
  18.  
  19.         if self.Name == 'equipItem' and IsA(self,'RemoteFunction') and m == "InvokeServer" then
  20.             _G.Key = a[2]
  21.             _G.st  = a[3]
  22.             _G.Ready = true
  23.         end
  24.     return old(self,...)
  25. end
  26.  
  27. local function spellCheck()
  28.         if type(_G.Key) == 'number'  then
  29.             local tab = {
  30.                 aID = _G.Key,
  31.                 aKey = _G.st
  32.                 }
  33.                 local json = HttpService:JSONEncode(tab)
  34.                 writefile('autofarm.stellar',json)
  35.             else
  36.             print('sorry')
  37.         end
  38.     end
  39.  
  40. if type(_G.Key) ~= 'number' then
  41.     game.StarterGui:SetCore("SendNotification", {
  42.     Title = "Stellar";
  43.     Text = "Please re-equip the spell you want to use!";
  44.     Duration = 5;
  45.     })
  46.     elseif type(_G.Key) == 'number' then
  47.         warn("You're now all setup to run the script :)")
  48.             game.StarterGui:SetCore("SendNotification", {
  49.         Title = "Stellar";
  50.         Text = "You're now all setup to run the script :)";
  51.         Duration = 5;
  52.         })
  53.         spellCheck()
  54. end
  55.  
  56.  
  57.  
  58.  
  59. --local data = HttpService:JSONDecode(g)
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
 
Top