Advertisement
robloxscript111

[SHUNKO + SHINSO + PANTERA] Reaper 2

Feb 14th, 2023
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.02 KB | None | 0 0
  1. local SolarisLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/Stebulous/solaris-ui-lib/main/source.lua"))()
  2.  
  3.  
  4. local win = SolarisLib:New({
  5. Name = "Reaper 2",
  6. FolderToSave = ""
  7. })
  8.  
  9. --win:Tab(title <string>)
  10. local tab = win:Tab("Home")
  11.  
  12. --tab:Section(title <string>)
  13. local sec = tab:Section("Main")
  14.  
  15. local vu = game:GetService("VirtualUser")
  16. game:GetService("Players").LocalPlayer.Idled:connect(function()
  17. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  18. wait(1)
  19. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  20. end)
  21.  
  22. local Mobs = {}
  23. for i,v in pairs(game:GetService("Workspace").Living:GetChildren()) do
  24. if v:IsA"Model" and v.Parent.Name == "Living" then
  25. local playerFound = false
  26. for i, player in pairs(game.Players:GetPlayers()) do
  27. if player.Name == v.Name then
  28. playerFound = true
  29. break
  30. end
  31. end
  32. if not playerFound and not table.find(Mobs,tostring(v)) then
  33. table.insert(Mobs,tostring(v))
  34. end
  35. end
  36. end
  37.  
  38. table.sort(Mobs)
  39.  
  40. multidropdown = sec:MultiDropdown("Select Mobs", Mobs, {}, "Dropdown", function(t)
  41. selectedMobs = t
  42. end)
  43.  
  44.  
  45. local function getNPC(mobName)
  46. local dist, thing = math.huge
  47. for i,v in pairs(game:GetService("Workspace").Living:GetChildren()) do
  48. if v:IsA("Model") and v.Name == mobName then
  49. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.HumanoidRootPart.Position).magnitude
  50. if mag < dist then
  51. dist = mag
  52. thing = v
  53. end
  54. end
  55. end
  56. return thing
  57. end
  58.  
  59.  
  60. local toggle = sec:Toggle("Auto Farm Mobs", false,"Toggle", function(t)
  61. autofarm = t
  62. while autofarm do
  63. wait(0)
  64. for i, mobName in pairs(selectedMobs) do
  65. pcall(function()
  66. local NPC = getNPC(mobName)
  67. local lp = game.Players.LocalPlayer
  68. local dis2 = distance
  69. repeat wait()
  70. local newPos = NPC.HumanoidRootPart.Position - NPC.HumanoidRootPart.CFrame.lookVector * dis2
  71. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC.HumanoidRootPart.Position)
  72.  
  73. local args = {
  74. [1] = {
  75. ["inputType"] = Enum.UserInputType.MouseButton1,
  76. ["keyCode"] = Enum.KeyCode.Unknown
  77. }
  78. }
  79.  
  80. if NPC.Status.Blocking.Value == false then
  81. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  82. else
  83. local args = {
  84. [1] = {
  85. ["inputType"] = Enum.UserInputType.MouseButton2,
  86. ["keyCode"] = Enum.KeyCode.Unknown
  87. }
  88. }
  89. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  90. end
  91.  
  92.  
  93. until NPC.Humanoid.Health <= 0 or autofarm == false
  94. end)
  95. wait()
  96. end
  97. end
  98. end)
  99.  
  100.  
  101. local slider = sec:Slider("Distance", 5,13,7,0.1,"Slider", function(t)
  102. distance = t
  103. end)
  104.  
  105. local sec10 = tab:Section("Dangai Autofarm (be in dangai)")
  106.  
  107. local toggle = sec10:Toggle("Dangai Farm", false,"Toggle", function(t)
  108. autofarm22 = t
  109. while autofarm22 do
  110. local NPC = game:GetService("Workspace").Living["Dangai Master"]
  111. local lp = game.Players.LocalPlayer
  112. local dis2 = distance
  113. repeat wait()
  114. local newPos = NPC.HumanoidRootPart.Position - NPC.HumanoidRootPart.CFrame.lookVector * 6.75
  115. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC.HumanoidRootPart.Position)
  116. local args = {
  117. [1] = {
  118. ["inputType"] = Enum.UserInputType.MouseButton1,
  119. ["keyCode"] = Enum.KeyCode.Unknown
  120. }
  121. }
  122.  
  123. if NPC.Status.Blocking.Value == false then
  124. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  125. else
  126. local args = {
  127. [1] = {
  128. ["inputType"] = Enum.UserInputType.MouseButton2,
  129. ["keyCode"] = Enum.KeyCode.Unknown
  130. }
  131. }
  132. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  133. end
  134.  
  135. until NPC.Humanoid.Health <= 0 or autofarm22 == false
  136. wait()
  137. end
  138. end)
  139.  
  140. local tab2 = win:Tab("Quests")
  141.  
  142. --tab:Section(title <string>)
  143. local sec2 = tab2:Section("Quests")
  144.  
  145. local dropdown = sec2:Dropdown("Quests", {"Acquired Taste | 10+","Hueco Mundo Hunt | 15+","Test Of Might | 15+"},"","Dropdown", function(t)
  146. getgenv().quest = t
  147. end)
  148.  
  149. local toggle = sec2:Toggle("AutoQuest", false,"Toggle", function(a)
  150. a2 = a
  151. while a2 do task.wait(0.1)
  152. pcall(function()
  153. if quest == "Acquired Taste | 10+" then
  154. local args = {
  155. [1] = "Acquired Taste",
  156. [2] = workspace.NPCs.FireFlare96
  157. }
  158.  
  159. game:GetService("ReplicatedStorage").Remotes.TakeQuest:FireServer(unpack(args))
  160. local objectives = game:GetService("Players")["LocalPlayer"].PlayerGui.HUD.QuestsFrame2["Acquired Taste"].Frame.Objective.Text
  161. for _, enemy in pairs(workspace.Living:GetChildren()) do
  162. local enemyName = enemy.Name
  163. local obj = objectives:match("Kill [^ ]+ " .. enemyName)
  164. if obj then
  165. local count = tonumber(obj:match("Kill ([^ ]+) "))
  166. if count > 0 then
  167. local NPC2 = enemy
  168. local lp = game.Players.LocalPlayer
  169. repeat task.wait()
  170. local dis2 = distance
  171. local newPos = NPC2.HumanoidRootPart.Position - NPC2.HumanoidRootPart.CFrame.lookVector * dis2
  172. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC2.HumanoidRootPart.Position)
  173. local args = {
  174. [1] = {
  175. ["inputType"] = Enum.UserInputType.MouseButton1,
  176. ["keyCode"] = Enum.KeyCode.Unknown
  177. }
  178. }
  179.  
  180. if NPC2.Status.Blocking.Value == false then
  181. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  182. else
  183. local args = {
  184. [1] = {
  185. ["inputType"] = Enum.UserInputType.MouseButton2,
  186. ["keyCode"] = Enum.KeyCode.Unknown
  187. }
  188. }
  189. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  190. end
  191. if lp.Status.Weapon.Value == nil then
  192. local args = {
  193. [1] = {
  194. ["inputType"] = Enum.UserInputType.MouseButton2,
  195. ["keyCode"] = Enum.KeyCode.Unknown
  196. }
  197. }
  198. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  199. elseif NPC2.Status.Blocking.Value == true then
  200. print("blocking")
  201. local args = {
  202. [1] = {
  203. ["inputType"] = Enum.UserInputType.Keyboard,
  204. ["keyCode"] = Enum.KeyCode.R
  205. }
  206. }
  207.  
  208. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  209.  
  210. end
  211.  
  212. until not lp.Character.HumanoidRootPart.Position:Distance(NPC2.HumanoidRootPart.Position) < dis2 + 0.1 or count == 0
  213. end
  214. end
  215. end
  216. elseif quest == "Test Of Might | 15+" then
  217. local args = {
  218. [1] = "Test Of Might",
  219. [2] = workspace:WaitForChild("NPCs"):WaitForChild("Roball1")
  220. }
  221.  
  222. game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("TakeQuest"):FireServer(unpack(args))
  223. local objectives = game:GetService("Players")["LocalPlayer"].PlayerGui.HUD.QuestsFrame2["Test Of Might"].Frame.Objective.Text
  224. for _, enemy in pairs(workspace.Living:GetChildren()) do
  225. if enemy.Name == "Corrupted Shikai User" or enemy.Name == "Experienced Corrupted Shikai User" or enemy.Name == "Winged Hollow" then
  226. if objectives:find(enemy.Name) then
  227. local NPC2 = enemy
  228. local lp = game.Players.LocalPlayer
  229. repeat wait()
  230. local dis2 = distance
  231. local newPos = NPC2.HumanoidRootPart.Position - NPC2.HumanoidRootPart.CFrame.lookVector * dis2
  232. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC2.HumanoidRootPart.Position)
  233. local args = {
  234. [1] = {
  235. ["inputType"] = Enum.UserInputType.MouseButton1,
  236. ["keyCode"] = Enum.KeyCode.Unknown
  237. }
  238. }
  239.  
  240. if NPC2.Status.Blocking.Value == false then
  241. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  242. else
  243. local args = {
  244. [1] = {
  245. ["inputType"] = Enum.UserInputType.MouseButton2,
  246. ["keyCode"] = Enum.KeyCode.Unknown
  247. }
  248. }
  249. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  250. end
  251. if lp.Status.Weapon.Value == nil then
  252. local args = {
  253. [1] = {
  254. ["inputType"] = Enum.UserInputType.Keyboard,
  255. ["keyCode"] = Enum.KeyCode.E
  256. }
  257. }
  258.  
  259. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  260. elseif NPC2.Status.Blocking.Value == true then
  261. print("blocking")
  262. local args = {
  263. [1] = {
  264. ["inputType"] = Enum.UserInputType.Keyboard,
  265. ["keyCode"] = Enum.KeyCode.R
  266. }
  267. }
  268.  
  269. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  270. end
  271.  
  272. until not lp.Character.HumanoidRootPart.Position:Distance(NPC2.HumanoidRootPart.Position) < dis2 + 0.1
  273. end
  274. end
  275. end
  276. elseif quest == "Hueco Mundo Hunt | 15+" then
  277. local args = {
  278. [1] = "Hueco Mundo Hunt",
  279. [2] = workspace.NPCs.CelestialMystical
  280. }
  281.  
  282. game:GetService("ReplicatedStorage").Remotes.TakeQuest:FireServer(unpack(args))
  283.  
  284. local objectives2 = game:GetService("Players")["LocalPlayer"].PlayerGui.HUD.QuestsFrame2["Hueco Mundo Hunt"].Frame.Objective.Text
  285. local remainingCount = 0
  286.  
  287. for _, enemy in pairs(workspace.Living:GetChildren()) do
  288. local enemyName = enemy.Name
  289. if enemy.Name == "Enhanced Arrancar" then
  290. if objectives2:find(enemy.Name) then
  291. local obj2 = objectives2:match("Kill [^ ]+ " .. enemyName)
  292. if obj2 then
  293. local count = tonumber(obj2:match("Kill ([^ ]+) "))
  294. remainingCount = remainingCount + count
  295. if count > 0 then
  296. local NPC2 = enemy
  297. local lp = game.Players.LocalPlayer
  298. repeat task.wait()
  299. local dis2 = distance
  300. local newPos = NPC2.HumanoidRootPart.Position - NPC2.HumanoidRootPart.CFrame.lookVector * dis2
  301. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC2.HumanoidRootPart.Position)
  302. local args = {
  303. [1] = {
  304. ["inputType"] = Enum.UserInputType.MouseButton1,
  305. ["keyCode"] = Enum.KeyCode.Unknown
  306. }
  307. }
  308.  
  309. if NPC2.Status.Blocking.Value == false then
  310. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  311. else
  312. local args = {
  313. [1] = {
  314. ["inputType"] = Enum.UserInputType.MouseButton2,
  315. ["keyCode"] = Enum.KeyCode.Unknown
  316. }
  317. }
  318. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  319. end
  320. if lp.Status.Weapon.Value == nil then
  321. local args = {
  322. [1] = {
  323. ["inputType"] = Enum.UserInputType.Keyboard,
  324. ["keyCode"] = Enum.KeyCode.E
  325. }
  326. }
  327.  
  328. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  329. elseif NPC2.Status.Blocking.Value == true then
  330. print("blocking")
  331. local args = {
  332. [1] = {
  333. ["inputType"] = Enum.UserInputType.Keyboard,
  334. ["keyCode"] = Enum.KeyCode.R
  335. }
  336. }
  337.  
  338. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  339.  
  340. end
  341.  
  342. count = count - 1
  343. remainingCount = remainingCount - 1
  344.  
  345. until not lp.Character.HumanoidRootPart.Position:Distance(NPC2.HumanoidRootPart.Position) < dis2 + 0.1 or count == 0
  346. end
  347. end
  348. end
  349. for _, enemy in pairs(workspace.Living:GetChildren()) do
  350. local enemyName = enemy.Name
  351. if enemyName ~= "Enhanced Arrancar" then
  352. local obj2 = objectives2:match("Kill [^ ]+ " .. enemyName)
  353. if obj2 then
  354. local count = tonumber(obj2:match("Kill ([^ ]+) "))
  355. remainingCount = remainingCount + count
  356. if count > 0 then
  357. local NPC2 = enemy
  358. local lp = game.Players.LocalPlayer
  359. repeat task.wait()
  360. local dis2 = distance
  361. local newPos = NPC2.HumanoidRootPart.Position - NPC2.HumanoidRootPart.CFrame.lookVector * dis2
  362. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC2.HumanoidRootPart.Position)
  363. local args = {
  364. [1] = {
  365. ["inputType"] = Enum.UserInputType.MouseButton1,
  366. ["keyCode"] = Enum.KeyCode.Unknown
  367. }
  368. }
  369.  
  370. if NPC2.Status.Blocking.Value == false then
  371. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  372. else
  373. local args = {
  374. [1] = {
  375. ["inputType"] = Enum.UserInputType.MouseButton2,
  376. ["keyCode"] = Enum.KeyCode.Unknown
  377. }
  378. }
  379. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  380. end
  381. if lp.Status.Weapon.Value == nil then
  382. local args = {
  383. [1] = {
  384. ["inputType"] = Enum.UserInputType.Keyboard,
  385. ["keyCode"] = Enum.KeyCode.E
  386. }
  387. }
  388.  
  389. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  390. elseif NPC2.Status.Blocking.Value == true then
  391. print("blocking")
  392. local args = {
  393. [1] = {
  394. ["inputType"] = Enum.UserInputType.Keyboard,
  395. ["keyCode"] = Enum.KeyCode.R
  396. }
  397. }
  398.  
  399. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  400.  
  401. end
  402.  
  403. count = count - 1
  404. remainingCount = remainingCount - 1
  405.  
  406. until not lp.Character.HumanoidRootPart.Position:Distance(NPC2.HumanoidRootPart.Position) < dis2 + 0.1 or count == 0
  407. end
  408. end
  409. end
  410. end
  411. end
  412. end
  413. end
  414. end)
  415. end
  416. end)
  417.  
  418.  
  419. local sec3 = tab2:Section("Daily Quests")
  420.  
  421. local dropdown = sec3:Dropdown("Daily Quests", {"Mass Cleansing | 5+","lazarovip2's Quest 10+ | Kill 10 Hollows in 300 seconds"},"","Dropdown", function(t)
  422. getgenv().quest2 = t
  423. end)
  424.  
  425. local toggle = sec3:Toggle("AutoDailyQuest", false,"Toggle", function(a)
  426. a3 = a
  427. while a3 do task.wait(0.1)
  428. pcall(function()
  429. if quest2 == "Mass Cleansing | 5+" then
  430. local args = {
  431. [1] = "Mass Cleansing",
  432. [2] = workspace:WaitForChild("NPCs"):WaitForChild("EtherealMiracle")
  433. }
  434.  
  435. game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("TakeQuest"):FireServer(unpack(args))
  436.  
  437. local objectives = game:GetService("Players")["LocalPlayer"].PlayerGui.HUD.QuestsFrame2["Mass Cleansing"].Frame.Objective.Text
  438. for _, enemy in pairs(workspace.Living:GetChildren()) do
  439. local enemyName = enemy.Name
  440. local obj = objectives:match("Kill [^ ]+ " .. enemyName)
  441. if obj then
  442. local count = tonumber(obj:match("Kill ([^ ]+) "))
  443. if count > 0 then
  444. local NPC2 = enemy
  445. local lp = game.Players.LocalPlayer
  446. repeat task.wait()
  447. local dis2 = distance
  448. local newPos = NPC2.HumanoidRootPart.Position - NPC2.HumanoidRootPart.CFrame.lookVector * dis2
  449. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC2.HumanoidRootPart.Position)
  450. local args = {
  451. [1] = {
  452. ["inputType"] = Enum.UserInputType.MouseButton1,
  453. ["keyCode"] = Enum.KeyCode.Unknown
  454. }
  455. }
  456.  
  457. if NPC2.Status.Blocking.Value == false then
  458. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  459. else
  460. local args = {
  461. [1] = {
  462. ["inputType"] = Enum.UserInputType.MouseButton2,
  463. ["keyCode"] = Enum.KeyCode.Unknown
  464. }
  465. }
  466. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  467. end
  468. if lp.Status.Weapon.Value == nil then
  469. local args = {
  470. [1] = {
  471. ["inputType"] = Enum.UserInputType.MouseButton2,
  472. ["keyCode"] = Enum.KeyCode.Unknown
  473. }
  474. }
  475. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  476. elseif NPC2.Status.Blocking.Value == true then
  477. print("blocking")
  478. local args = {
  479. [1] = {
  480. ["inputType"] = Enum.UserInputType.Keyboard,
  481. ["keyCode"] = Enum.KeyCode.R
  482. }
  483. }
  484.  
  485. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  486.  
  487. end
  488.  
  489. until not lp.Character.HumanoidRootPart.Position:Distance(NPC2.HumanoidRootPart.Position) < dis2 + 0.1 or count == 0
  490. end
  491. end
  492. end
  493. end
  494. end)
  495. end
  496. end)
  497.  
  498. local sec5 = tab2:Section("Hourly Quests")
  499.  
  500.  
  501. local dropdown = sec5:Dropdown("Hourly Quests", {"Enhanced Arrancar Slayer| 40+ Recommended","The Hollow Thief"},"","Dropdown", function(t)
  502. getgenv().quest5 = t
  503. end)
  504.  
  505. local toggle = sec5:Toggle("AutoHourlyQuest", false,"Toggle", function(a)
  506. a5 = a
  507. while a5 do
  508. pcall(function()
  509. if quest5 == "Enhanced Arrancar Slayer| 40+ Recommended" then
  510. local objectives = game:GetService("Players")["LocalPlayer"].PlayerGui.HUD.QuestsFrame2["Enhanced Arrancar Slayer"].Frame.Objective.Text
  511. for _, enemy in pairs(workspace.Living:GetChildren()) do
  512. local enemyName = enemy.Name
  513. local obj = objectives:match("Kill [^ ]+ " .. enemyName)
  514. if obj then
  515. local count = tonumber(obj:match("Kill ([^ ]+) "))
  516. if count > 0 then
  517. local NPC2 = enemy
  518. local lp = game.Players.LocalPlayer
  519. repeat task.wait()
  520. local dis2 = distance
  521. local newPos = NPC2.HumanoidRootPart.Position - NPC2.HumanoidRootPart.CFrame.lookVector * dis2
  522. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC2.HumanoidRootPart.Position)
  523. local args = {
  524. [1] = {
  525. ["inputType"] = Enum.UserInputType.MouseButton1,
  526. ["keyCode"] = Enum.KeyCode.Unknown
  527. }
  528. }
  529.  
  530. if NPC2.Status.Blocking.Value == false then
  531. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  532. else
  533. local args = {
  534. [1] = {
  535. ["inputType"] = Enum.UserInputType.MouseButton2,
  536. ["keyCode"] = Enum.KeyCode.Unknown
  537. }
  538. }
  539. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  540. end
  541. if lp.Status.Weapon.Value == nil then
  542. local args = {
  543. [1] = {
  544. ["inputType"] = Enum.UserInputType.MouseButton2,
  545. ["keyCode"] = Enum.KeyCode.Unknown
  546. }
  547. }
  548. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  549. elseif NPC2.Status.Blocking.Value == true then
  550. print("blocking")
  551. local args = {
  552. [1] = {
  553. ["inputType"] = Enum.UserInputType.Keyboard,
  554. ["keyCode"] = Enum.KeyCode.R
  555. }
  556. }
  557.  
  558. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  559.  
  560. end
  561.  
  562. until not lp.Character.HumanoidRootPart.Position:Distance(NPC2.HumanoidRootPart.Position) < dis2 + 0.1 or count == 0
  563. end
  564. elseif quest5 == "The Hollow Thief" then
  565. local objectives = game:GetService("Players")["LocalPlayer"].PlayerGui.HUD.QuestsFrame2["The Hollow Thief"].Frame.Objective.Text
  566. for _, enemy in pairs(workspace.Living:GetChildren()) do
  567. local enemyName = enemy.Name
  568. local obj = objectives:match("Kill [^ ]+ " .. enemyName)
  569. if obj then
  570. local count = tonumber(obj:match("Kill ([^ ]+) "))
  571. if count > 0 then
  572. local NPC2 = enemy
  573. local lp = game.Players.LocalPlayer
  574. repeat task.wait()
  575. local dis2 = distance
  576. local newPos = NPC2.HumanoidRootPart.Position - NPC2.HumanoidRootPart.CFrame.lookVector * dis2
  577. lp.Character.HumanoidRootPart.CFrame = CFrame.new(newPos, NPC2.HumanoidRootPart.Position)
  578. local args = {
  579. [1] = {
  580. ["inputType"] = Enum.UserInputType.MouseButton1,
  581. ["keyCode"] = Enum.KeyCode.Unknown
  582. }
  583. }
  584.  
  585. if NPC2.Status.Blocking.Value == false then
  586. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  587. else
  588. local args = {
  589. [1] = {
  590. ["inputType"] = Enum.UserInputType.MouseButton2,
  591. ["keyCode"] = Enum.KeyCode.Unknown
  592. }
  593. }
  594. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  595. end
  596. if lp.Status.Weapon.Value == nil then
  597. local args = {
  598. [1] = {
  599. ["inputType"] = Enum.UserInputType.MouseButton2,
  600. ["keyCode"] = Enum.KeyCode.Unknown
  601. }
  602. }
  603. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  604. elseif NPC2.Status.Blocking.Value == true then
  605. print("blocking")
  606. local args = {
  607. [1] = {
  608. ["inputType"] = Enum.UserInputType.Keyboard,
  609. ["keyCode"] = Enum.KeyCode.R
  610. }
  611. }
  612.  
  613. game:GetService("ReplicatedStorage").Remotes.Input:FireServer(unpack(args))
  614.  
  615. end
  616.  
  617. until not lp.Character.HumanoidRootPart.Position:Distance(NPC2.HumanoidRootPart.Position) < dis2 + 0.1 or count == 0
  618. end
  619. end
  620. end
  621. end
  622. end
  623. end
  624.  
  625. end)
  626. task.wait(0.1)
  627. end
  628. end)
  629.  
  630.  
  631. local sec4 = tab2:Section("Story Quest")
  632.  
  633. local dropdown = sec4:Dropdown("Story Quests", {"Yakrus 1+ | Find and speak with Gerald","Zartania | 5+ Kill five Corrupted Reapers","Mijuel 5+ | Kill five corrupted Brutes","Sly_Kage 10+ | Kill three Corrupted Hakuda Students"},"","Dropdown", function(t)
  634. getgenv().quest3 = t
  635. end)
  636.  
  637. local toggle = sec4:Toggle("AutoStoryQuest", false,"Toggle", function(a)
  638. a4 = a
  639. while a4 do
  640. pcall(function()
  641. if quest3 == "Yakrus 1+ | Find and speak with Gerald" then
  642. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs.Gerald.Head.CFrame
  643. wait(1)
  644. a4 = false -- stops the toggle
  645. elseif quest3 == "Zartania | 5+ Kill five Corrupted Reapers" then
  646. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs.Zartania.Head.CFrame
  647. elseif quest3 == "Mijuel 5+ | Kill five corrupted Brutes" then
  648. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs.Mijuel.Head.CFrame
  649. elseif quest3 == "Sly_Kage 10+ | Kill three Corrupted Hakuda Students" then
  650. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Sly_Kage"].Head.CFrame
  651. end
  652.  
  653. end)
  654. task.wait(0.1)
  655. end
  656. end)
  657.  
  658.  
  659. local tab3 = win:Tab("NPC")
  660.  
  661. --tab:Section(title <string>)
  662. local sec3 = tab3:Section("Goto NPCS")
  663.  
  664. local Npc = {}
  665.  
  666. for i,v in pairs(game:GetService("Workspace").NPCs:GetChildren()) do
  667. if v.Parent.Name == "NPCs" then
  668. if not table.find(Npc,tostring(v)) then
  669. table.insert(Npc,tostring(v))
  670. end
  671. end
  672. end
  673.  
  674.  
  675. table.sort(Npc)
  676.  
  677. local dropdown = sec3:Dropdown("Select NPC", Npc,"","Dropdown", function(t)
  678. getgenv().npc = t
  679. end)
  680.  
  681. sec3:Button("TP", function()
  682. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.NPCs[npc].HumanoidRootPart.CFrame
  683. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement