Advertisement
SirMeme

UPDATED NIGS

Apr 28th, 2019
32,436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.28 KB | None | 0 0
  1. local color = "Pastel brown"
  2. local Active = false
  3.  
  4. local Areas = {
  5.     [1] = {Area = "Castle", Color = "Bright violet"},
  6.     [2] = {Area = "Sand Kingdom", Color = "Moss"},
  7.     [3] = {Area = "Haunted", Color = "Neon orange"},
  8.     [4] = {Area = "Futureville", Color = "Ghost grey"},
  9.     [5] = {Area = "Pirate Paradise", Color = "Pine Cone"}
  10. }
  11.  
  12. local check = game.ReplicatedStorage.Aero.AeroRemoteServices.PlayerDataService.GetStats:InvokeServer().Areas
  13. for i = 1, #Areas do
  14.     if check[Areas[i].Area] then
  15.         color = Areas[i].Color
  16.     end
  17. end
  18.  
  19.  
  20. spawn(function()
  21.     while wait()do
  22.         if Active then
  23.             for i,v in pairs(game.Workspace.Chests:GetChildren()) do
  24.                 if v:IsA("Model") and v:FindFirstChild("Base") and v.Base.BrickColor == BrickColor.new(color) then
  25.                     if Active then
  26.                         game:GetService("ReplicatedStorage").Aero.AeroRemoteServices.ChestService.ConnectPlayer:FireServer(v.Name)
  27.                         game:GetService("ReplicatedStorage").Aero.AeroRemoteServices.QuestService.Collect:InvokeServer("Damage")
  28.                         game:GetService("ReplicatedStorage").Aero.AeroRemoteServices.QuestService.Collect:InvokeServer("HatLevel")
  29.                     end
  30.                 end
  31.             end
  32.         end
  33.     end
  34. end)
  35. spawn(function()
  36.     while wait() do
  37.         if Active then
  38.             for _,v in next, workspace.Rewards:GetDescendants() do
  39.                 if v.Parent == workspace.Rewards then
  40.                     v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  41.                 end
  42.             end
  43.         end
  44.     end
  45. end)
  46.  
  47.  
  48.  
  49. local gui = loadstring(game:HttpGet("https://pastebin.com/raw/j3TcLjYu", true))():CreateWindow({text = "Unbox Simulator"})
  50.  
  51. gui:AddButton("To Enchant", function()
  52.     game.Players.LocalPlayer.Character:MoveTo(workspace.InteractionPoints.Enchant.Hitbox.Position)
  53. end)
  54.  
  55. gui:AddButton("TP to your Area", function()
  56.     local as = game.ReplicatedStorage.Aero.AeroRemoteServices.PlayerDataService.GetStats:InvokeServer().Areas
  57.     for i = 1, #Areas do
  58.         if check[Areas[i].Area] then
  59.             lastarea = Areas[i].Area
  60.         end
  61.     end
  62.     game.Players.LocalPlayer.Character:MoveTo(workspace.Areas[lastarea].Floor.Position)
  63. end)
  64.  
  65. gui:AddToggle("Auto Farm", function(f)
  66.     Active = not Active
  67. end)
  68.  
  69. local VirtualUser=game:service'VirtualUser';game:service'Players'.LocalPlayer.Idled:connect(function()VirtualUser:CaptureController()VirtualUser:ClickButton2(Vector2.new())end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement