Facebook
From Beige Crow, 3 Years ago, written in Plain Text.
">

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type bool

Filename: view/view.php

Line Number: 33

from

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type bool

Filename: view/view.php

Line Number: 33

- view diff
Embed
Download Paste or View Raw
Hits: 239
  1. --[[
  2.  Setting _G.beta to `true` will allow you to use the beta build, which may be more stable than Alpha Build
  3.  I do not think I will be updating the Alpha Build for a while, instead I will do the Beta Build.
  4.  When I am finished with the Beta Build, it will become the script itself without needing `_G.beta`
  5. ]]
  6. _G.beta = true
  7. loadstring(game:HttpGet('https://keshhub.vaxio.me/scripts/games/ShitLife2.lua'))()
  8. --[[
  9. GAME LINK https://www.roblox.com/games/4616652839/TEN-TAILS-Shinobi-Life-2
  10. Script from [email protected]
  11. reav#2966
  12. _G.speed = 750
  13. loadstring(game:HttpGet("https://raw.githubusercontent.com/reavscripts/sl2_autofarm/main/main.lua", true))()
  14. ]]
  15.  
  16. repeat wait() until game:IsLoaded()
  17. --antitp bypass
  18. if workspace:FindFirstChild("CCoff") then
  19.     game:GetService("Workspace").CCoff:Destroy()
  20. end
  21. hookfunction(getrenv().print, function()
  22.         return wait(math.huge)
  23. end)
  24. --antiafk
  25. local VirtualUser=game:service'VirtualUser'
  26.         game:service'Players'.LocalPlayer.Idled:connect(function()
  27.         print("reav")
  28.         VirtualUser:CaptureController()
  29.         VirtualUser:ClickButton2(Vector2.new())
  30. end)
  31. --variables
  32. local player = game.Players.LocalPlayer
  33. local mission = player.PlayerGui:WaitForChild("Main"):WaitForChild("ingame"):WaitForChild("Missionstory")
  34. function toTarget(pos, targetPos, targetCFrame)
  35.     local tween_s = game:service"TweenService"
  36.     local info = TweenInfo.new((targetPos - pos).Magnitude/_G.speed, Enum.EasingStyle.Linear)
  37.     local tween, err = pcall(function()
  38.         local tween = tween_s:Create(game:GetService("Players").LocalPlayer.Character["HumanoidRootPart"], info, {CFrame = targetCFrame * CFrame.fromAxisAngle(Vector3.new(1,0,0), math.rad(90))})
  39.         tween:Play()
  40.     end)
  41.     if not tween then return err end
  42. end
  43.  
  44. local mouse = game.Players.LocalPlayer:GetMouse()
  45. --loading wally ui revamped By Aika
  46. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  47. local w = library:CreateWindow("Shinobi Life 2")
  48. local b = w:CreateFolder("AutoFarm")
  49.  
  50. local autofarm
  51. b:Toggle("Autofarm",function(bool)
  52.     autofarm = bool
  53. end)
  54. local scrollfarm
  55. b:Toggle("Scroll Sniper",function(bool)
  56.     scrollfarm = bool
  57. end)
  58. local jinfarm
  59. b:Toggle("Jin Farm",function(bool)
  60.     jinfarm = bool
  61. end)
  62. local rankup
  63. b:Toggle("AutoRank",function()
  64.     rankup = bool
  65. end)
  66. local c = w:CreateFolder("War Farm")
  67. local war
  68. c:Toggle("War Mode",function(bool)
  69.     war = bool
  70. end)
  71. local reset
  72. c:Toggle("Reset after round 21",function(bool)
  73.     reset = bool
  74. end)
  75. --Suggested by Moddi#2715
  76. local roundR = c:Label("Round: "..game.Workspace.warserver.round.Value,{
  77.     TextSize = 25;
  78.     TextColor = Color3.fromRGB(255,255,255);
  79.     BgColor = Color3.fromRGB(26,26,26);
  80. })
  81.  
  82.  
  83. local d = w:CreateFolder("Quests Maker")
  84. d:Button("Rushs",function()
  85.     for i = 1,300 do
  86.         game.Players.LocalPlayer.Character.combat.update:FireServer("rushw")
  87.         wait(.25)
  88.     end
  89. end)
  90. d:Button("Jumps",function()
  91.     for v = 1,300 do
  92.         game.Players.LocalPlayer.Character.combat.update:FireServer("takemovement2")
  93.         wait(.25)
  94.     end
  95. end)
  96. d:Button("Chakra Charges",function()
  97.     for i = 1,500 do
  98.         game.Players.LocalPlayer.Character.combat.update:FireServer("key","c")
  99.         wait(.1)
  100.         game.Players.LocalPlayer.Character.combat.update:FireServer("key","cend")
  101.         wait(.5)
  102.     end
  103. end)
  104. d:Button("Punches",function()
  105.     for i = 1,999 do
  106.         game.Players.LocalPlayer.Character.combat.update:FireServer("mouse1",true)
  107.         wait(.3)
  108.     end
  109. end)
  110. game:GetService('RunService').Stepped:connect(function()
  111.         if autofarm or war then
  112.             pcall(function()
  113.             game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  114.         end)
  115.     end
  116. end)
  117.  
  118. spawn(function()
  119.     while wait() do
  120.         if autofarm then
  121.             if mission.Visible == false then
  122.                 for i,v in pairs(workspace.missiongivers:GetChildren()) do
  123.                     if v.Name == "" and v:FindFirstChild("Head") then
  124.                         local TALK = v:FindFirstChild("Talk")
  125.                         --local mob = TALK:WaitForChild("mobname").Value
  126.                         if v.Head.givemission.Enabled == true and v.Head.givemission.color.Image == "http://www.roblox.com/asset/?id=5459241648" --[[or v.Head.givemission.color.Image == "http://www.roblox.com/asset/?id=5459241799"]] then
  127.                             pcall(function()
  128.                                 if TALK:WaitForChild("mobname") then
  129.                                     local getmission = v:FindFirstChild("HumanoidRootPart")
  130.                                     local clienttalk = v:FindFirstChild("CLIENTTALK")
  131.                                     repeat wait()
  132.                                         game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position=getmission.Position+Vector3.new(0,-10,0)
  133.                                         clienttalk:FireServer()
  134.                                         clienttalk:FireServer("accept")
  135.                                     until mission.Visible
  136.                                 end
  137.                             end)
  138.                         end
  139.                     end
  140.                 end
  141.             else
  142.                 for i,v in pairs(workspace.npc:GetChildren()) do
  143.                     if v.ClassName == "Model" and v:FindFirstChild("npctype") and string.find(v.Name, "npc") and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v.Head.CFrame.Y > -1000 then
  144.                         repeat wait()
  145.                             pcall(function()
  146.                                 repeat wait()
  147.                                     player.Character.HumanoidRootPart.Position=v.HumanoidRootPart.Position
  148.                                 --toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position))
  149.                                     if (player.Character.HumanoidRootPart.Position-v.HumanoidRootPart.Position).Magnitude > 50 then
  150.                                         v.Humanoid.Health = 0
  151.                                     end
  152.                                 until not v or v.Humanoid.Health == 0
  153.                             end)
  154.                         until v.Humanoid.Health == 0 or mission.Visible == false or not v or not autofarm
  155.                     end
  156.                 end
  157.             end
  158.         end
  159.     end
  160. end)
  161. game:GetService('RunService').Stepped:connect(function()
  162.     if autofarm or war then
  163.         pcall(function()
  164.             game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  165.         end)
  166.     end
  167. end)
  168. local function SCROLLFARM()
  169.     for i,v in pairs(game.workspace.GLOBALTIME:GetChildren()) do
  170.         if v.ClassName == "Model" and v:FindFirstChild("sh") and v.sh.Position.Y > -1000 then
  171.             pcall(function()
  172.                 toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.sh.Position,CFrame.new(v.sh.Position))
  173.             end)
  174.             fireclickdetector(v.sh.ClickDetector)
  175.         end
  176.     end
  177. end
  178. spawn(function()
  179.     while wait() do
  180.         if scrollfarm or warscroll then
  181.             SCROLLFARM()
  182.         end
  183.     end
  184. end)
  185. local function JINFARM()
  186.     for i,v in pairs(game.workspace.GLOBALTIME:GetChildren()) do
  187.         if v.ClassName == "Model" and string.find(v.Name, "npc1") and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid").Health < 0 then
  188.             repeat wait()
  189.                 pcall(function()
  190.                         wait(.5)
  191.                         toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.Head.Position,CFrame.new(v.Head.Position))
  192.                                 wait(.5)
  193.                                 toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position))
  194.                 end)
  195.                 if (player.Character.Head.Position-v.HumanoidRootPart.Position).Magnitude < 50 then
  196.                     v.Humanoid.Health = 0
  197.                 end
  198.             until v.Humanoid.Health == 0 or not v
  199.         end
  200.     end
  201. end
  202. spawn(function()
  203.     while wait() do
  204.         if jinfarm then
  205.             JINFARM()
  206.         end
  207.     end
  208. end)
  209. spawn(function()
  210.     while wait() do
  211.         if rankup then
  212.             player.Character.startevent:FireServer("rankup")
  213.         end
  214.     end
  215. end)
  216. spawn(function()
  217.     while wait() do
  218.         if war then
  219.             for i,v in pairs(workspace.npc:GetChildren()) do
  220.                 if v.ClassName == "Model" and v:FindFirstChild("npc") and string.find(v.Name, "npc") and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v.Head.CFrame.Y > -1000 then
  221.                     wait(.5)
  222.                         --repeat wait()
  223.                         pcall(function()
  224.                             toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position))
  225.                             if (player.Character.HumanoidRootPart.Position-v.HumanoidRootPart.Position).Magnitude > 5 then
  226.                                 v.Humanoid.Health = 0
  227.                             end
  228.                         end)
  229.                         --until not v.Humanoid.Health == 0 or not war or not v
  230.                 end
  231.             end
  232.             if reset then
  233.                 for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  234.                     if v.Name == "warserver" and v:FindFirstChild("round").Value > 21 then
  235.                                                 repeat wait()
  236.                                                 until v.round.Value == 0
  237.                     end
  238.                 end
  239.             end
  240.         end
  241.     end
  242. end)
  243. spawn(function()
  244.     while wait() do
  245.         SCROLLFARM()
  246.         roundR:Refresh("Round: "..game.Workspace.warserver.round.Value)
  247.     end
  248. end)