NukeVsCity

SHINDO LIFE OP AUTOFARM

Jan 15th, 2021 (edited)
4,524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.25 KB | None | 0 0
  1.  
  2.  
  3. repeat wait() until game:IsLoaded()
  4. --old-antitp bypass
  5. if workspace:FindFirstChild("CCoff") then
  6. game:GetService("Workspace").CCoff:Destroy()
  7. end
  8. --antiafk
  9. local VirtualUser=game:service'VirtualUser'
  10. game:service'Players'.LocalPlayer.Idled:connect(function()
  11. warn("anti-afk")
  12. VirtualUser:CaptureController()
  13. VirtualUser:ClickButton2(Vector2.new())
  14. end)
  15. --variables
  16. local player = game.Players.LocalPlayer
  17. local mission = player.PlayerGui:WaitForChild("Main"):WaitForChild("ingame"):WaitForChild("Missionstory")
  18. local menuplace = 4616652839
  19. local forestplace = 5447073001
  20. local rainplace = 5084678830
  21. local trainingplace = 5431071837
  22. local akatsukiplace = 5431069982
  23. local worldxplace = 5943874201
  24. local villageplace = game:GetService("Workspace"):FindFirstChild("rank")
  25. local warplace = game:GetService("Workspace"):FindFirstChild("warmode")
  26. function toTarget(pos, targetPos, targetCFrame)
  27. local tween_s = game:service"TweenService"
  28. local info = TweenInfo.new((targetPos - pos).Magnitude/getgenv().speed, Enum.EasingStyle.Linear)
  29. local tween, err = pcall(function()
  30. local tween = tween_s:Create(game:GetService("Players").LocalPlayer.Character["HumanoidRootPart"], info, {CFrame = targetCFrame * CFrame.fromAxisAngle(Vector3.new(1,0,0), math.rad(90))})
  31. tween:Play()
  32. end)
  33. if not tween then return err end
  34. end
  35.  
  36. --loading wally ui revamped By Aika
  37. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  38. _G.ButtonTextColor = Color3.fromRGB(247, 95, 28);
  39. _G.ButtonColor = Color3.fromRGB(5, 16, 20);
  40. _G.PointerColor = Color3.fromRGB(247, 95, 28);
  41. _G.SecondaryColor = Color3.fromRGB(0, 102, 255);
  42. _G.TertiaryColor = Color3.fromRGB(5, 16, 20);
  43. _G.ToggleColor = Color3.fromRGB(247, 95, 28);
  44. _G.MainTextColor = Color3.fromRGB(255, 255, 255);
  45. _G.MainColor = Color3.fromRGB(247, 95, 28);
  46. _G.SliderColor = Color3.fromRGB(247, 95, 28);
  47. getgenv().speed = 500
  48. local w = library:CreateWindow("Shindo Life")
  49. if villageplace or game.PlaceId == trainingplace or game.PlaceId == rainplace or game.PlaceId == akatsukiplace or game.PlaceId == forestplace then
  50. --AUTOFARM
  51. local b = w:CreateFolder("AutoFarm")
  52. b:Label("To prevent issues farm in a ps",{
  53. TextSize = 16;
  54. TextColor = Color3.fromRGB(255,255,255);
  55. BgColor = Color3.fromRGB(247, 95, 28);
  56. })
  57. local autofarm
  58. b:Toggle("AutoFarm",function(bool)
  59. autofarm = bool
  60. end)
  61. local candies
  62. b:Toggle("Farm candies",function(bool)
  63. candies = bool
  64. end)
  65. local speed
  66. b:Slider("Tween Speed",{
  67. min = 500;
  68. max = 2500;
  69. precise = false;
  70. },function(speed)
  71. getgenv().speed = speed
  72. end)
  73. local scrollfarm
  74. b:Toggle("Scroll Sniper",function(bool)
  75. scrollfarm = bool
  76. end)
  77. local jinfarm
  78. b:Toggle("JinFarm (instakill)",function(bool)
  79. jinfarm = bool
  80. end)
  81. local RANKUP
  82. b:Toggle("AutoRank",function(bool)
  83. RANKUP = bool
  84. end)
  85.  
  86. local d = w:CreateFolder("Quests Maker")
  87. d:Button("Rushs",function()
  88. for i = 1,300 do
  89. game.Players.LocalPlayer.Character.combat.update:FireServer("rushw")
  90. wait(.25)
  91. end
  92. end)
  93. d:Button("Jumps",function()
  94. for v = 1,300 do
  95. game.Players.LocalPlayer.Character.combat.update:FireServer("takemovement2")
  96. wait(.25)
  97. end
  98. end)
  99. d:Button("Chakra Charges",function()
  100. for i = 1,500 do
  101. game.Players.LocalPlayer.Character.combat.update:FireServer("key","c")
  102. wait(.1)
  103. game.Players.LocalPlayer.Character.combat.update:FireServer("key","cend")
  104. wait(.5)
  105. end
  106. end)
  107. d:Button("Punches",function()
  108. for i = 1,999 do
  109. game.Players.LocalPlayer.Character.combat.update:FireServer("mouse1",true)
  110. wait(.3)
  111. end
  112. end)
  113. d:Button("TP TrainLog",function()
  114. toTarget(player.Character.HumanoidRootPart.Position,workspace.npc.logtraining:FindFirstChild("HumanoidRootPart").Position,CFrame.new(game:GetService("Workspace").npc.logtraining:FindFirstChild("HumanoidRootPart").Position))
  115. end)
  116.  
  117. game:GetService('RunService').Stepped:connect(function()
  118. if autofarm or candies then
  119. pcall(function()
  120. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  121. end)
  122. end
  123. end)
  124. local green = "http://www.roblox.com/asset/?id=5459241648"
  125. local red = "http://www.roblox.com/asset/?id=5459241799"
  126. local candy = "http://www.roblox.com/asset/?id=5710748193"
  127. spawn(function()
  128. while wait() do
  129. if autofarm then
  130. if player.currentmission.Value == nil then
  131. for i,v in pairs(workspace.missiongivers:GetChildren()) do
  132. pcall(function()
  133. if player.currentmission.Value == nil and v.Name == "" and v:FindFirstChild("Head") and v.Head:FindFirstChild("givemission").Enabled and v.Head.givemission:FindFirstChild("color").Visible then
  134. local TALK = v:FindFirstChild("Talk")
  135. local lvl = player.statz.lvl.lvl.Value
  136. if lvl <= 699 then
  137. if player.currentmission.Value == nil and v.Talk:FindFirstChild("typ").Value == "defeat" and v.Head.givemission.Enabled and v.Head.givemission.color.Visible and v.Head.givemission.color.Image == green then
  138. local getmission = v:FindFirstChild("HumanoidRootPart")
  139. local clienttalk = v:FindFirstChild("CLIENTTALK")
  140. repeat wait(.3)
  141. toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position+Vector3.new(0,-8,0)))
  142. if (player.Character.HumanoidRootPart.Position-v.HumanoidRootPart.Position).Magnitude < 10 then
  143. clienttalk:FireServer()
  144. wait(.3)
  145. clienttalk:FireServer("accept")
  146. end
  147. until mission.Visible or v:FindFirstChild("Head").givemission.Enabled == false or player.currentmission.Value == "mission" or not autofarm
  148. end
  149. elseif lvl >= 700 then
  150. if player.currentmission.Value == nil and TALK.typ.Value == "defeat" and v.Head.givemission.Enabled and v.Head.givemission.color.Visible and v.Head.givemission.color.Image == green or v.Head.givemission.color.Image == red then
  151. local getmission = v:FindFirstChild("HumanoidRootPart")
  152. local clienttalk = v:FindFirstChild("CLIENTTALK")
  153. repeat wait(.3)
  154. toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position+Vector3.new(0,-8,0)))
  155. if (player.Character.HumanoidRootPart.Position-v.HumanoidRootPart.Position).Magnitude < 10 then
  156. clienttalk:FireServer()
  157. wait(.3)
  158. clienttalk:FireServer("accept")
  159. end
  160. until mission.Visible or v:FindFirstChild("Head").givemission.Enabled == false or player.currentmission.Value == "mission" or not autofarm
  161. end
  162. end
  163. end
  164. end)
  165. end
  166. else
  167. for i,v in pairs(workspace.npc:GetChildren()) do
  168. pcall(function()
  169. 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
  170. repeat wait(.5)
  171. toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position+Vector3.new(0,-8,0)))
  172. v.Humanoid.Health = 0
  173. until v.Humanoid.Health == 0 or not autofarm or player.currentmission.Value == nil
  174. end
  175. end)
  176. end
  177. end
  178. end
  179. end
  180. end)
  181. spawn(function()
  182. while wait() do
  183. if candies then
  184. local spins = player.statz.spins.Value
  185. if spins < 500 then
  186. for i,v in pairs(workspace.missiongivers:GetChildren()) do
  187. pcall(function()
  188. if mission.Visible == false and v.ClassName == "Model" and v:FindFirstChild("Head"):FindFirstChild("givemission").Enabled and v:FindFirstChild("CLIENTTALK") and v:FindFirstChild("Talk") and string.find(v.Talk.talk1.Value, "TRICK OR TREAT") and v.Talk:FindFirstChild("typ").Value == "halloweenevent" and v.Head.givemission.color.Image == candy then
  189. repeat wait(.3)
  190. toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position+Vector3.new(0,-5,0)))
  191. v.CLIENTTALK:FireServer()
  192. wait(.2)
  193. v.CLIENTTALK:FireServer("accept")
  194. until v:FindFirstChild("Head").givemission.Enabled == false or not candies
  195. end
  196. end)
  197. end
  198. else
  199. print("max spins reached 500")
  200. end
  201. end
  202. end
  203. end)
  204. local function SCROLLFARM()
  205. for i,v in pairs(game.workspace.GLOBALTIME:GetChildren()) do
  206. if v.ClassName == "Model" and v:FindFirstChild("sh") and v.sh.Position.Y > -1000 and v.sh.Position.Y < 2000 then
  207. local scrollA = v.sh:FindFirstChild("invoke")
  208. print("SCROLL SPAWNED")
  209. pcall(function()
  210. toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.sh.Position,CFrame.new(v.sh.Position))
  211. end)
  212. scrollA:FireServer(game.Players.LocalPlayer)
  213. fireclickdetector(v.sh.ClickDetector)
  214. end
  215. end
  216. end
  217. local function SCROLLFARM1()
  218. for i,v in pairs(game.workspace:GetChildren()) do
  219. if v.ClassName == "Model" and v:FindFirstChild("sh") and v.sh.Position.Y > -1000 and v.sh.Position.Y < 2000 then
  220. local scrollA = v.sh:FindFirstChild("invoke")
  221. print("SCROLL SPAWNED in workspace")
  222. pcall(function()
  223. toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.sh.Position,CFrame.new(v.sh.Position))
  224. scrollA:FireServer(game.Players.LocalPlayer)
  225. fireclickdetector(v.sh.ClickDetector)
  226. end)
  227. end
  228. end
  229. end
  230. spawn(function()
  231. while wait() do
  232. if scrollfarm then
  233. repeat wait()
  234. SCROLLFARM()
  235. SCROLLFARM1()
  236. until not scrollfarm or not war or not war2
  237. end
  238. end
  239. end)
  240. local function JINFARM()
  241. for i,v in pairs(game:GetService("Workspace").npc:GetChildren()) do
  242. if v.Name == "npc1" then
  243. repeat wait()
  244. pcall(function()
  245. toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position+Vector3.new(0,-25,0)))
  246. player.Character.combat.update:FireServer("mouse1", true)
  247. wait(.1)
  248. v.Humanoid.HealthChanged:Connect(function()
  249. v.Humanoid.Health = 0
  250. end)
  251. end)
  252. until v.Humanoid.Health == 0 or not jinfarm
  253. end
  254. end
  255. end
  256. spawn(function()
  257. while wait() do
  258. if jinfarm then
  259. JINFARM()
  260. end
  261. end
  262. end)
  263. spawn(function()
  264. while wait() do
  265. if RANKUP and player.statz.lvl:FindFirstChild("lvl").Value == 1000 then
  266. repeat wait()
  267. game.Players.LocalPlayer.startevent:FireServer("rankup")
  268. until player.statz.lvl:FindFirstChild("lvl").Value == 1 or not RANKUP
  269. end
  270. end
  271. end)
  272. end
  273. if villageplace or game.PlaceId == trainingplace or game.PlaceId == rainplace or game.PlaceId == akatsukiplace or game.PlaceId == forestplace then
  274. local g = w:CreateFolder("Infinite Mode")
  275. g:Label("Enable your mode and setup when charge chakra (not max)",{
  276. TextSize = 15;
  277. TextColor = Color3.fromRGB(255,255,255);
  278. BgColor = Color3.fromRGB(247, 95, 28);
  279. })
  280. local when = 100000
  281. g:Slider("When charge(NOT MAX)",{
  282. min = 30000;
  283. max = 200000;
  284. precise = false;
  285. },function(z)
  286. when = z
  287. end)
  288. g:Button("InfiniteMode",function()
  289. local mode = game.Players.LocalPlayer.Character.combat.mode
  290. local copy = mode:Clone()
  291. copy.Parent = mode.Parent
  292. mode:Destroy()
  293. local chakra = string.split(game.Players.LocalPlayer.PlayerGui.Main.ingamearena.Bar.cha.Text,"CHA: ")[2]
  294. c = chakra:gsub("CHA%:","")
  295. local cha
  296. local function chakracheck()
  297. chakra = string.split(game.Players.LocalPlayer.PlayerGui.Main.ingamearena.Bar.cha.Text,"CHA: ")[2]
  298. c = chakra:gsub("CHA%:","")
  299. cha = c
  300. end
  301. spawn(function()
  302. while wait() do
  303. if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 0 then
  304. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  305. end
  306. chakracheck()
  307. end
  308. end)
  309. spawn(function()
  310. while wait() do
  311. if tonumber(cha) < tonumber(when) then
  312. game.Players.LocalPlayer.Character.combat.update:FireServer("key","c")
  313. else
  314. game.Players.LocalPlayer.Character.combat.update:FireServer("key","cend")
  315. end
  316. end
  317. end)
  318. end)
  319. g:Button("Disable InfMode",function()
  320. player.Character:BreakJoints()
  321. end)
  322. end
  323. if villageplace or game.PlaceId == trainingplace or game.PlaceId == rainplace or game.PlaceId == akatsukiplace or game.PlaceId == forestplace then
  324. local h = w:CreateFolder("Auto Chakra")
  325. h:Label("Setup when charge chakra (also max)",{
  326. TextSize = 16;
  327. TextColor = Color3.fromRGB(255,255,255);
  328. BgColor = Color3.fromRGB(247, 95, 28);
  329. })
  330. local infchakra
  331. h:Toggle("Charge Chakra+Move",function(bool)
  332. infchakra = bool
  333. end)
  334. local when = 100000
  335. h:Slider("When charge(NOT MAX)",{
  336. min = 30000;
  337. max = 250000;
  338. precise = false;
  339. },function(z)
  340. when = z
  341. end)
  342. spawn(function()
  343. while wait() do
  344. if infchakra then
  345. local chakra = string.split(game.Players.LocalPlayer.PlayerGui.Main.ingamearena.Bar.cha.Text,"CHA: ")[2]
  346. c = chakra:gsub("CHA%:","")
  347. local cha
  348. local function chakracheck()
  349. chakra = string.split(game.Players.LocalPlayer.PlayerGui.Main.ingamearena.Bar.cha.Text,"CHA: ")[2]
  350. c = chakra:gsub("CHA%:","")
  351. cha = c
  352. end
  353. spawn(function()
  354. while wait() do
  355. if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 0 then
  356. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  357. end
  358. chakracheck()
  359. end
  360. end)
  361. spawn(function()
  362. while wait() do
  363. if tonumber(cha) < tonumber(when) then
  364. game.Players.LocalPlayer.Character.combat.update:FireServer("key","c")
  365. else
  366. game.Players.LocalPlayer.Character.combat.update:FireServer("key","cend")
  367. end
  368. end
  369. end)
  370. end
  371. end
  372. end)
  373. h:Label("Dont use INFMODE and INFCHAKRA together",{
  374. TextSize = 15;
  375. TextColor = Color3.fromRGB(255,255,255);
  376. BgColor = Color3.fromRGB(247, 95, 28);
  377. })
  378. end
  379. if warplace then
  380. --WAR
  381. local c = w:CreateFolder("War Farm")
  382. c:Label("Snipe is built-in",{
  383. TextSize = 24;
  384. TextColor = Color3.fromRGB(255,255,255);
  385. BgColor = Color3.fromRGB(247, 95, 28);
  386. })
  387. local war
  388. c:Toggle("WarMode No Tween",function(bool)
  389. war = bool
  390. end)
  391. local war2
  392. c:Toggle("WarMode Tween (multple players)",function(bool)
  393. war2 = bool
  394. end)
  395.  
  396. c:Slider("Tween Speed",{
  397. min = 500;
  398. max = 2500;
  399. precise = false;
  400. },function(speed)
  401. getgenv().speed = speed
  402. end)
  403. local reset
  404. c:Toggle("Reset after round 21",function(bool)
  405. reset = bool
  406. end)
  407. --Suggested by Moddi#2715
  408. local refresh = c:Label("ROUND COUNTER",{
  409. TextSize = 24;
  410. TextColor = Color3.fromRGB(255,255,255);
  411. BgColor = Color3.fromRGB(247, 95, 28);
  412. })
  413. local count = 0
  414. local refreshC = c:Label("10TAILS COUNTER",{
  415. TextSize = 24;
  416. TextColor = Color3.fromRGB(255,255,255);
  417. BgColor = Color3.fromRGB(247, 95, 28);
  418. })
  419. game:GetService('RunService').Stepped:connect(function()
  420. if war or war2 then
  421. pcall(function()
  422. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  423. end)
  424. end
  425. end)
  426. local function SCROLLFARM()
  427. for i,v in pairs(game.workspace.GLOBALTIME:GetChildren()) do
  428. if v.ClassName == "Model" and v:FindFirstChild("sh") and v.sh.Position.Y > -1000 and v.sh.Position.Y < 2000 then
  429. local scrollA = v.sh:FindFirstChild("invoke")
  430. print("SCROLL SPAWNED")
  431. pcall(function()
  432. toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.sh.Position,CFrame.new(v.sh.Position))
  433. end)
  434. scrollA:FireServer(game.Players.LocalPlayer)
  435. fireclickdetector(v.sh.ClickDetector)
  436. end
  437. end
  438. end
  439. local function SCROLLFARM1()
  440. for i,v in pairs(game.workspace:GetChildren()) do
  441. if v.ClassName == "Model" and v:FindFirstChild("sh") and v.sh.Position.Y > -1000 and v.sh.Position.Y < 2000 then
  442. local scrollA = v.sh:FindFirstChild("invoke")
  443. print("SCROLL SPAWNED in workspace")
  444. pcall(function()
  445. toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position,v.sh.Position,CFrame.new(v.sh.Position))
  446. scrollA:FireServer(game.Players.LocalPlayer)
  447. fireclickdetector(v.sh.ClickDetector)
  448. end)
  449. end
  450. end
  451. end
  452. spawn(function()
  453. while wait() do
  454. if war or war2 then
  455. repeat wait()
  456. SCROLLFARM()
  457. SCROLLFARM1()
  458. until not scrollfarm or not war or not war2
  459. end
  460. end
  461. end)
  462. spawn(function()
  463. while wait() do
  464. if war then
  465. pcall(function()
  466. refresh:Refresh("War Completed: " .. count)
  467. refreshC:Refresh("Round: " .. workspace.warserver.round.Value)
  468. end)
  469. for i,v in pairs(workspace.npc:GetChildren()) do
  470. if workspace.warserver:FindFirstChild("zetsu").Value > 0 and string.find(workspace.warserver.text.Value, "Left") or string.find(workspace.warserver.text.Value, "DEFEAT") and 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 and not v:FindFirstChild("megaboss") then
  471. wait(.2)
  472. pcall(function()
  473. v.Humanoid.Health = 0
  474. end)
  475. elseif 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 and v:FindFirstChild("megaboss") then
  476. wait(6)
  477. pcall(function()
  478. toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position))
  479. v.Humanoid.Health = 0
  480. end)
  481. end
  482. end
  483. if reset then
  484. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  485. if v.Name == "warserver" and v:FindFirstChild("round").Value > 20 then
  486. wait(5)
  487. player.Character:BreakJoints()
  488. repeat wait()
  489. until v.round.Value == 0
  490. count = count + 1
  491. end
  492. end
  493. end
  494. end
  495. end
  496. end)
  497. spawn(function()
  498. while wait() do
  499. if war2 then
  500. refresh:Refresh("War Completed: " .. count)
  501. refreshC:Refresh("Round: " .. workspace.warserver.round.Value)
  502. for i,v in pairs(workspace.npc:GetChildren()) do
  503. if workspace.warserver:FindFirstChild("zetsu").Value > 0 and string.find(workspace.warserver.text.Value, "Left") or string.find(workspace.warserver.text.Value, "DEFEAT") and 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 and not v:FindFirstChild("megaboss") then
  504. pcall(function()
  505. repeat wait()
  506. toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position+Vector3.new(0,-12,0)))
  507. wait(.3)
  508. v.Humanoid.Health = 0
  509. until v.Humanoid.Health == 0
  510. end)
  511. elseif 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 and v:FindFirstChild("megaboss") then
  512. wait(8)
  513. pcall(function()
  514. toTarget(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,v.HumanoidRootPart.Position,CFrame.new(v.HumanoidRootPart.Position+Vector3.new(0,-25,0)))
  515. v.Humanoid.Health = 0
  516. end)
  517. else
  518. wait()
  519. end
  520. end
  521. if reset then
  522. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  523. if v.Name == "warserver" and v:FindFirstChild("round").Value > 20 then
  524. wait(5)
  525. player.Character:BreakJoints()
  526. repeat wait()
  527. until v.round.Value == 0
  528. count = count + 1
  529. end
  530. end
  531. end
  532. end
  533. end
  534. end)
  535. end
  536. if game.PlaceId == menuplace then
  537. --main menu
  538. local e = w:CreateFolder("ResetSpins")
  539. local kgs = {}
  540. for i,v in pairs(game:GetService("ReplicatedStorage").alljutsu:GetChildren()) do
  541. if v:FindFirstChild("KG") then
  542. table.insert(kgs, v.Name)
  543. end
  544. end
  545. e:Label("Select the KG slot you want to change",{
  546. TextSize = 15;
  547. TextColor = Color3.fromRGB(255,255,255);
  548. BgColor = Color3.fromRGB(247, 95, 28);
  549. })
  550. e:Label("Choose your kgs and press SPIN KG",{
  551. TextSize = 15;
  552. TextColor = Color3.fromRGB(255,255,255);
  553. BgColor = Color3.fromRGB(247, 95, 28);
  554. })
  555. local b
  556. local kgslot
  557. local kgvalue
  558. e:Dropdown("KG SLOT",{"kg1", "kg2", "kg3", "kg4"},true,function(kgS)
  559. b = kgS
  560. kgslot = game.Players.LocalPlayer.statz.main:FindFirstChild(b)
  561. kgvalue = kgslot.Value
  562. print(kgslot)
  563. print(kgvalue)
  564. end)
  565. local a1
  566. e:Dropdown("WHAT DO YOU WANT",kgs,true,function(KG1)
  567. print("Selected: " .. KG1)
  568. a1 = KG1
  569. end)
  570. local a2
  571. e:Dropdown("WHAT DO YOU WANT",kgs,true,function(KG2)
  572. print("Selected: " .. KG2)
  573. a2 = KG2
  574. end)
  575. local a3
  576. e:Dropdown("WHAT DO YOU WANT",kgs,true,function(KG3)
  577. print("Selected: " .. KG3)
  578. a3 = KG3
  579. end)
  580. local a4
  581. e:Dropdown("WHAT DO YOU WANT",kgs,true,function(KG4)
  582. print("Selected: " .. KG4)
  583. a4 = KG4
  584. end)
  585. local a5
  586. e:Dropdown("WHAT DO YOU WANT",kgs,true,function(KG5)
  587. print("Selected: " .. KG5)
  588. a5 = KG5
  589. end)
  590. e:Button("Start Spin KG",function()
  591. kgslot.ChildAdded:Connect(function(yes)
  592. if yes.Name == "dontspin" then
  593. wait(.1)
  594. yes:Destroy()
  595. end
  596. end)
  597. local spins = game.Players.LocalPlayer.statz.spins.Value
  598. local des = game.Players.LocalPlayer.statz.spins
  599. spawn(function()
  600. for i,v in pairs(game:GetService("ReplicatedStorage").alljutsu:GetChildren()) do
  601. if v:FindFirstChild("KG") then
  602. local a = Instance.new("StringValue")
  603. a.Name = v.Name
  604. a.Parent = game.Players.LocalPlayer.statz.genkailevel
  605. end
  606. end
  607. end)
  608. spawn(function()
  609. while wait() do
  610. if spins > 0 then
  611. spins = game.Players.LocalPlayer.statz.spins.Value
  612. kgvalue = kgslot.Value
  613. print("Rolled: " .. kgvalue)
  614. if kgvalue ~= a1 and kgvalue ~= a2 and kgvalue ~= a3 and kgvalue ~= a4 and kgvalue ~= a5 then
  615. kgvalue = kgslot.Value
  616. game.Players.LocalPlayer.startevent:FireServer("spin", b)
  617. wait(.2)
  618. kgvalue = kgslot.Value
  619. else
  620. print("You have got: " .. kgvalue)
  621. end
  622. else
  623. player.statz.spins:Destroy()
  624. game:GetService('TeleportService'):Teleport(game.PlaceId, player)
  625. end
  626. end
  627. end)
  628. end)
  629. e:Button("Reset Spin NOW",function()
  630. player.statz.spins:Destroy()
  631. game:GetService('TeleportService'):Teleport(game.PlaceId, player)
  632. end)
  633. end
  634. if game.PlaceId == worldxplace then
  635. --World X
  636. local village = player.yourvillage.Value
  637. local g = w:CreateFolder("World X")
  638. local side
  639. g:Toggle("F Rank - Side Quest",function(bool)
  640. side = bool
  641. end)
  642. local nogrip
  643. g:Toggle("No Grip",function(bool)
  644. nogrip = bool
  645. end)
  646. spawn(function()
  647. while wait() do
  648. if side then
  649. if player.currentmission.Value == nil then
  650. for i,v in pairs(game:GetService("Workspace").sidequest.getmission:GetChildren()) do
  651. if v.Name == "rankd" and v:FindFirstChild("village").Value == village and v:FindFirstChild("ClickDetector") then
  652. --player.Character.HumanoidRootPart.CFrame=v.CFrame
  653. v.invoke:FireServer()
  654. fireclickdetector(v.ClickDetector)
  655. end
  656. end
  657. else
  658. for i,v in pairs(game:GetService("Workspace").sidequest.weeds[village]:GetChildren()) do
  659. if v.Name == "grass" and v:FindFirstChild("ClickDetector") and v:FindFirstChild("taken").Value == true then
  660. fireclickdetector(v.ClickDetector)
  661. end
  662. end
  663. for i,v in pairs(game:GetService("Workspace").sidequest.dirt[village]:GetChildren()) do
  664. if v.Name == village and v:FindFirstChild("ClickDetector") and v:FindFirstChild("taken").Value == true then
  665. fireclickdetector(v.ClickDetector)
  666. end
  667. end
  668. for i,v in pairs(game:GetService("Workspace").sidequest.grafitti[village]:GetChildren()) do
  669. if v.Name == village and v:FindFirstChild("taken").Value == true and v:FindFirstChild("ClickDetector") then
  670. fireclickdetector(v.ClickDetector)
  671. end
  672. end
  673. for i,v in pairs(game:GetService("Workspace").sidequest.groceries[village]:GetChildren()) do
  674. if v.Name == village and v:FindFirstChild("taken").Value == true then
  675. player.Character.HumanoidRootPart.CFrame=v.CFrame
  676. end
  677. end
  678. for i,v in pairs(game:GetService("Workspace").sidequest.deliver:GetChildren()) do
  679. if v.Name == "point" and v:FindFirstChild("taken").Value == true then
  680. player.Character.HumanoidRootPart.CFrame=v.CFrame
  681. end
  682. end
  683. end
  684. end
  685. end
  686. end)
  687. spawn(function()
  688. while wait() do
  689. if nogrip then
  690. while player.Character.Humanoid.WalkSpeed == 0 do
  691. player.Character.Humanoid.WalkSpeed = 200
  692. end
  693. end
  694. end
  695. end)
  696. end
  697.  
  698. local f = w:CreateFolder("Misc")
  699. f:Box("Teleport to PS","string",function(tpps)
  700. game.Players.LocalPlayer.startevent:FireServer("teleporttoprivate", tpps)
  701. end)
  702. f:Label("made by reav#2966 | ver 4.2",{
  703. TextSize = 15;
  704. TextColor = Color3.fromRGB(255,255,255);
  705. BgColor = Color3.fromRGB(247, 95, 28);
  706. })
  707. f:Label("https://discord.gg/aDRStgw",{
  708. TextSize = 17;
  709. TextColor = Color3.fromRGB(255,255,255);
  710. BgColor = Color3.fromRGB(247, 95, 28);
  711. })
  712. f:Button("Copy Discord Link",function()
  713. setclipboard("https://discord.gg/aDRStgw")
  714. end)
Add Comment
Please, Sign In to add comment