RML

OP NINJA LEGENDS SCRIPT!

RML
Nov 28th, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.33 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local library = loadstring(game:HttpGet("https://pastebin.com/raw/JsdM2jiP",true))()
  3. library.options.underlinecolor = "rainbow"
  4.  
  5. local Farming = library:CreateWindow("Farming")
  6. local GK = Farming:Toggle("Auto-Good Karma", {flag = "GK"})
  7. local BK = Farming:Toggle("Auto-Bad Karma", {flag = "BK"})
  8. local Swing = Farming:Toggle("Auto-Swing", {flag = "Swing"})
  9. local Sell = Farming:Toggle("Auto-Sell", {flag = "Sell"})
  10. local BackpackFull = Farming:Toggle("Auto-Full Sell", {flag = "FullSell"})
  11. local EAR = Farming:Toggle("Auto-Pet Levels", {flag = "L"})
  12. local Boss = Farming:Toggle("Auto-Robot Boss", {flag = "Boss"})
  13. local ETBoss = Farming:Toggle("Auto-Eternal Boss", {flag = "EBoss"})
  14. local AMBoss = Farming:Toggle("Auto-Ancient Boss", {flag = "ABoss"})
  15. local Chi = Farming:Toggle("Auto-Chi", {flag = "Chi"})
  16. local Kat = Farming:Button("Auto-Koth/Boss/Kill", function()
  17. loadstring(game:HttpGet("https://pastebin.com/raw/2qKmDuiy",true))()
  18. end)
  19.  
  20. local Hi = Farming:Button("Auto-Hoops", function()
  21. _G.Hoops = true
  22. while _G.Hoops do
  23. local stuff = workspace.Hoops:getChildren()
  24. for i = 1, #stuff do
  25. if _G.Hoops then
  26. for i = 1, 10 do
  27. stuff[i].touchPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  28. wait()
  29. end
  30. end
  31. wait()
  32. end
  33. end
  34. end)
  35.  
  36. local AutoBuy = library:CreateWindow("Auto Buy")
  37. local Sword = AutoBuy:Toggle("Auto-Sword", {flag = "Sword"}) -- AutoBuy.flags.Sword
  38. local Belt = AutoBuy:Toggle("Auto-Belt", {flag = "Belt"}) -- AutoBuy.flags.Belt
  39. local Rank = AutoBuy:Toggle("Auto-Rank", {flag = "Rank"}) -- AutoBuy.flags.Rank
  40. local Skill = AutoBuy:Toggle("Auto-Skills", {flag = "Skill"}) -- AutoBuy.flags.Skill
  41. local Shuriken = AutoBuy:Toggle("Auto-Shurikens", {flag = "Shurikens"}) --AutoBuy.flags.Shurikens
  42. _G.Enabled = AutoBuy.flags.Purchase
  43. _G.Sword = AutoBuy.flags.Sword
  44. _G.Belt = AutoBuy.flags.Belt
  45. _G.Rank = AutoBuy.flags.Rank
  46. _G.Skill = AutoBuy.flags.Skill
  47.  
  48. -- Misc
  49. local Misc = library:CreateWindow("Misc")
  50. Misc:Section("--== Pets ==--")
  51.  
  52. Misc:Dropdown("Eggs", {location = _G, flag = "Egg", list = {
  53. "Blue Crystal",
  54. "Purple Crystal",
  55. "Orange Crystal",
  56. "Enchanted Crystal",
  57. "Astral Crystal",
  58. "Golden Crystal",
  59. "Inferno Crystal",
  60. "Galaxy Crystal",
  61. "Frozen Crystal",
  62. "Eternal Crystal",
  63. "Storm Crystal",
  64. "Thunder Crystal",
  65. "Legends Crystal",
  66. "Eternity Crystal"
  67. }
  68. }, function(new) print("Selected Egg:", new) end)
  69.  
  70. local Eggs = Misc:Toggle("Open Eggs", {flag = "TEgg"}) -- Misc.flags.TEgg
  71. local Basic = Misc:Toggle("Sell Basic", {flag = "SBasic"}) --Misc.flags.SBasic
  72. local Advanced = Misc:Toggle("Sell Advanced", {flag = "SAdvanced"}) --Misc.flags.SAdvanced
  73. local Rare = Misc:Toggle("Sell Rare", {flag = "SRare"}) --Misc.flags.SRare
  74. local Epic = Misc:Toggle("Sell Epic", {flag = "SEpic"}) --Misc.flags.SEpic
  75. local Unique = Misc:Toggle("Sell Unique", {flag = "SUnique"})
  76. local IPB = Misc:Toggle("Sell Omega", {flag = "SIPB"})
  77. local Evolve = Misc:Toggle("Auto-Evolve", {flag = "Evolve"}) -- Misc.flags.TEgg
  78. local Eternalise = Misc:Toggle("Auto-Eternalise", {flag = "Eternalise"}) -- Misc.flags.Eternalise
  79. local Immortalize = Misc:Toggle("Auto-Immortalize", {flag = "Immortalize"}) -- Misc.flags.Eternalise
  80. local Legend = Misc:Toggle("Auto-Legend", {flag = "Legend"}) -- Misc.flags.Eternalise
  81.  
  82.  
  83. Misc:Section("--== Other Stuff ==--")
  84.  
  85. local FastThing = Misc:Toggle("Fast Shuriken", {flag = "Fast"}) -- AutoBuy.flags.Belt
  86.  
  87. local head = Misc:Button("Big Head All", function()
  88. while wait(1) do
  89. for _, v in pairs(game:GetService("Players"):GetPlayers()) do
  90. if v.Name ~= game:GetService("Players").LocalPlayer.Name then
  91. v.Character.Head.CanCollide = false
  92. v.Character.Head.Size = Vector3.new(5, 5, 5)
  93. v.Character.Head.Transparency = 0
  94. end
  95. end
  96. end
  97. end)
  98.  
  99. local HideName = Misc:Button("Hide Name", function()
  100. local plrname = game.Players.LocalPlayer.Name
  101. workspace[plrname].Head.nameGui:Destroy()
  102. end)
  103.  
  104. local Invis = Misc:Button("Invisibility", function()
  105. while true do
  106. wait(.0001)
  107. local A_1 = "goInvisible"
  108. local Event = game.Players.LocalPlayer.ninjaEvent
  109. Event:FireServer(A_1)
  110. end
  111. end)
  112.  
  113. local MaxJump = Misc:Button("Max Jump", function()
  114. while true do
  115. wait(.001)
  116. game.Players.LocalPlayer.multiJumpCount.Value = "50"
  117. end
  118. end)
  119.  
  120. local UnlockIsland = Misc:Button("Unlock Islands", function()
  121. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Enchanted Island"].CFrame
  122. wait(.7)
  123. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Astral Island"].CFrame
  124. wait(.7)
  125. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Mystical Island"].CFrame
  126. wait(.7)
  127. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Space Island"].CFrame
  128. wait(.7)
  129. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Tundra Island"].CFrame
  130. wait(.7)
  131. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Eternal Island"].CFrame
  132. wait(.7)
  133. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Sandstorm"].CFrame
  134. wait(.7)
  135. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Thunderstorm"].CFrame
  136. wait(.7)
  137. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Ancient Inferno Island"].CFrame
  138. end)
  139.  
  140. local StatEffects = Misc:Button("Toggle Popups", function()
  141. game:GetService("Players").LocalPlayer.PlayerGui.statEffectsGui.Enabled = not game:GetService("Players").LocalPlayer.PlayerGui.statEffectsGui.Enabled
  142. game:GetService("Players").LocalPlayer.PlayerGui.hoopGui.Enabled = not game:GetService("Players").LocalPlayer.PlayerGui.hoopGui.Enabled
  143. end)
  144.  
  145. Misc:Bind("Toggle Key",
  146. {flag = "Toggle", owo = true, default = Enum.KeyCode.RightControl},
  147. function()
  148. library.toggled = not library.toggled;
  149. for i, data in next, library.queue do
  150. local pos = (library.toggled and data.p or UDim2.new(-1, 0, -0.5,0))
  151. data.w:TweenPosition(pos, (library.toggled and 'Out' or 'In'), 'Quad', 0.15, true)
  152. wait();
  153. end
  154. end)
  155.  
  156. -- Teleports
  157. local Teleports = library:CreateWindow("Teleports")
  158.  
  159. Teleports:Section("--== Utilitys ==--")
  160. local Shop = Teleports:Button("Shop", function()
  161. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").shopAreaCircle5.circleInner.CFrame
  162. end)
  163.  
  164. local KOTH = Teleports:Button("KOTH", function()
  165. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").kingOfTheHillPart.CFrame
  166. end)
  167.  
  168. Teleports:Section("--== Worlds ==--")
  169.  
  170. local EnchantedIsland = Teleports:Button("Enchanted Island", function()
  171. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Enchanted Island"].CFrame
  172. end)
  173.  
  174. local AstralIsland = Teleports:Button("Astral Island", function()
  175. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Astral Island"].CFrame
  176. end)
  177.  
  178. local MysticalIsland = Teleports:Button("Mystical Island", function()
  179. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Mystical Island"].CFrame
  180. end)
  181.  
  182. local SpaceIsland = Teleports:Button("Space Island", function()
  183. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Space Island"].CFrame
  184. end)
  185.  
  186. local TundraIsland = Teleports:Button("Tundra Island", function()
  187. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Tundra Island"].CFrame
  188. end)
  189.  
  190. local EternalIsland = Teleports:Button("Eternal Island", function()
  191. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Eternal Island"].CFrame
  192. end)
  193.  
  194. local Sandstorm = Teleports:Button("Sandstorm Island", function()
  195. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Sandstorm"].CFrame
  196. end)
  197.  
  198. local Thunderstorm = Teleports:Button("Thunderstorm Island", function()
  199. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Thunderstorm"].CFrame
  200. end)
  201.  
  202. local Ancient = Teleports:Button("Ancient Island", function()
  203. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Ancient Inferno Island"].CFrame
  204. end)
  205.  
  206.  
  207. Teleports:Section("--== Training Areas ==--")
  208. local a1 = Teleports:Button("Mystical Waters (Good)", function()
  209. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(347.74881, 8824.53809, 114.271019)
  210. end)
  211. local a2 = Teleports:Button("Sword of Legends (Good)", function()
  212. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1834.15967, 38.704483, -141.375641)
  213. end)
  214. local a3 = Teleports:Button("Lava Pit (Bad)", function()
  215. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-116.631485, 12952.5381, 271.14624)
  216. end)
  217. local a4 = Teleports:Button("Tornado (Bad)", function()
  218. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(325.641174, 16872.0938, -9.9906435)
  219. end)
  220.  
  221.  
  222. spawn(function()
  223. while wait(.01) do
  224. if Misc.flags.TEgg then
  225. local oh1 = "openCrystal"
  226. local oh2 = _G.Egg
  227. print("Purchased", _G.Egg)
  228. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(oh1, oh2)
  229. end
  230. end
  231. end)
  232.  
  233. spawn(function()
  234. while wait() do
  235. if Farming.flags.Swing then
  236. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  237. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  238. game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
  239. else
  240. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  241. if v.ClassName == "Tool" and v:FindFirstChild("attackShurikenScript") then
  242. game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  243. wait()
  244. if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
  245. game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  246. end
  247. end
  248. end
  249. end
  250. end
  251. end
  252. end
  253. end)
  254.  
  255. spawn(function()
  256. while wait(0.01) do
  257. if Farming.flags.Sell then
  258. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  259. game.workspace.sellAreaCircles["sellAreaCircle7"].circleInner.CFrame = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame
  260. wait(.05)
  261. game.workspace.sellAreaCircles["sellAreaCircle7"].circleInner.CFrame = game.Workspace.Part.CFrame
  262. end
  263. end
  264. end
  265. end)
  266.  
  267. spawn(function()
  268. while wait(0.01) do
  269. if Farming.flags.FullSell then
  270. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  271. if player.PlayerGui.gameGui.maxNinjitsuMenu.Visible == true then
  272. game.workspace.sellAreaCircles["sellAreaCircle7"].circleInner.CFrame = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame
  273. wait(.05)
  274. game.workspace.sellAreaCircles["sellAreaCircle7"].circleInner.CFrame = game.Workspace.Part.CFrame
  275. end
  276. end
  277. end
  278. end
  279. end)
  280.  
  281.  
  282. spawn(function()
  283. while wait(0.4) do
  284. if Farming.flags.GK then
  285. loadstring(game:HttpGet(('https://pastebin.com/raw/AaqHqPyw'),true))()
  286. end
  287. end
  288. end)
  289.  
  290. spawn(function()
  291. while wait(0.00011) do
  292. if Farming.flags.L then
  293. local plr = game.Players.LocalPlayer
  294. for _,v in pairs(workspace.Hoops:GetDescendants()) do
  295. if v.ClassName == "MeshPart" then
  296. v.touchPart.CFrame = plr.Character.HumanoidRootPart.CFrame
  297. end
  298. end
  299. end
  300. end
  301. end)
  302.  
  303.  
  304. spawn(function()
  305. while wait(0.4) do
  306. if Farming.flags.BK then
  307. loadstring(game:HttpGet(('https://pastebin.com/raw/wEEB3nQt'),true))()
  308. end
  309. end
  310. end)
  311.  
  312. spawn(function()
  313. while wait(.001) do
  314. if Farming.flags.Boss then
  315. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  316. if game:GetService("Workspace").bossFolder:WaitForChild("RobotBoss"):WaitForChild("HumanoidRootPart") then
  317. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.bossFolder.RobotBoss.HumanoidRootPart.CFrame
  318. if player.Character:FindFirstChildOfClass("Tool") then
  319. player.Character:FindFirstChildOfClass("Tool"):Activate()
  320. else
  321. for i,v in pairs(player.Backpack:GetChildren()) do
  322. if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
  323. v.attackTime.Value = 0.2
  324. player.Character.Humanoid:EquipTool(v)
  325. if attackfar then
  326. for i,v in pairs(player.Backpack:GetChildren()) do
  327. if v.ClassName == "Tool" and v:FindFirstChild("attackShurikenScript") then
  328. player.Character.Humanoid:EquipTool(v)
  329. end
  330. end
  331. end
  332. end
  333. end
  334. end
  335. end
  336. end
  337. end
  338. end
  339. end)
  340.  
  341.  
  342. spawn(function()
  343. while wait(.001) do
  344. if Farming.flags.EBoss then
  345. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  346. if game:GetService("Workspace").bossFolder:WaitForChild("EternalBoss"):WaitForChild("HumanoidRootPart") then
  347. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.bossFolder.EternalBoss.HumanoidRootPart.CFrame
  348. if player.Character:FindFirstChildOfClass("Tool") then
  349. player.Character:FindFirstChildOfClass("Tool"):Activate()
  350. else
  351. for i,v in pairs(player.Backpack:GetChildren()) do
  352. if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
  353. v.attackTime.Value = 0.2
  354. player.Character.Humanoid:EquipTool(v)
  355. if attackfar then
  356. for i,v in pairs(player.Backpack:GetChildren()) do
  357. if v.ClassName == "Tool" and v:FindFirstChild("attackShurikenScript") then
  358. player.Character.Humanoid:EquipTool(v)
  359. end
  360. end
  361. end
  362. end
  363. end
  364. end
  365. end
  366. end
  367. end
  368. end
  369. end)
  370.  
  371. spawn(function()
  372. while wait(.001) do
  373. if Farming.flags.ABoss then
  374. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  375. if game:GetService("Workspace").bossFolder:WaitForChild("AncientMagmaBoss"):WaitForChild("HumanoidRootPart") then
  376. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.bossFolder.AncientMagmaBoss.HumanoidRootPart.CFrame
  377. if player.Character:FindFirstChildOfClass("Tool") then
  378. player.Character:FindFirstChildOfClass("Tool"):Activate()
  379. else
  380. for i,v in pairs(player.Backpack:GetChildren()) do
  381. if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
  382. v.attackTime.Value = 0.2
  383. player.Character.Humanoid:EquipTool(v)
  384. if attackfar then
  385. for i,v in pairs(player.Backpack:GetChildren()) do
  386. if v.ClassName == "Tool" and v:FindFirstChild("attackShurikenScript") then
  387. player.Character.Humanoid:EquipTool(v)
  388. end
  389. end
  390. end
  391. end
  392. end
  393. end
  394. end
  395. end
  396. end
  397. end
  398. end)
  399.  
  400. spawn(function()
  401. while wait(0.5) do
  402. if AutoBuy.flags.Sword then
  403. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  404. local oh1 = "buyAllSwords"
  405. local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island", "Sandstorm", "Thunderstorm", "Ancient Inferno Island"}
  406. for i = 1,#oh2 do
  407. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
  408. end
  409. end
  410. end
  411. end
  412. end)
  413.  
  414. spawn(function()
  415. while wait(0.5) do
  416. if AutoBuy.flags.Belt then
  417. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  418. local oh1 = "buyAllBelts"
  419. local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island", "Sandstorm", "Thunderstorm", "Ancient Inferno Island"}
  420. for i = 1,#oh2 do
  421. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
  422. end
  423. end
  424. end
  425. end
  426. end)
  427.  
  428. spawn(function()
  429. while wait(0.5) do
  430. if AutoBuy.flags.Skill then
  431. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  432. local oh1 = "buyAllSkills"
  433. local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island", "Sandstorm", "Thunderstorm", "Ancient Inferno Island"}
  434. for i = 1,#oh2 do
  435. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
  436. end
  437. end
  438. end
  439. end
  440. end)
  441.  
  442.  
  443.  
  444. spawn(function()
  445. while wait(0.5) do
  446. if AutoBuy.flags.Rank then
  447. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  448. local oh1 = "buyRank"
  449. local oh2 = game:GetService("ReplicatedStorage").Ranks.Ground:GetChildren()
  450. for i = 1,#oh2 do
  451. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i].Name)
  452. end
  453. end
  454. end
  455. end
  456. end)
  457.  
  458. spawn(function()
  459. while wait(0.5) do
  460. if AutoBuy.flags.Shurikens then
  461. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  462. local oh1 = "buyAllShurikens"
  463. local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island", "Sandstorm", "Thunderstorm", "Ancient Inferno Island"}
  464. for i = 1,#oh2 do
  465. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
  466. end
  467. end
  468. end
  469. end
  470. end)
  471.  
  472. spawn(function()
  473. while wait(0.033) do
  474. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  475. if Farming.flags.Chi then
  476. for i,v in pairs(game.Workspace.spawnedCoins.Valley:GetChildren()) do
  477. if v.Name == "Blue Chi Crate" then
  478. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  479. wait(.16)
  480. end
  481. end
  482. end
  483. end
  484. end
  485. end)
  486.  
  487.  
  488.  
  489. spawn(function()
  490. while wait(3) do
  491. if Misc.flags.Evolve then
  492. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  493. for i,v in pairs(game:GetService("Players").LocalPlayer.petsFolder:GetChildren()) do
  494. for i,x in pairs(v:GetChildren()) do
  495. local oh1 = "evolvePet"
  496. local oh2 = x.Name
  497. game:GetService("ReplicatedStorage").rEvents.petEvolveEvent:FireServer(oh1, oh2)
  498. end
  499. end
  500. end
  501. end
  502. end
  503. end)
  504. spawn(function()
  505. while wait(3) do
  506. if Misc.flags.Eternalise then
  507. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  508. for i,v in pairs(game:GetService("Players").LocalPlayer.petsFolder:GetChildren()) do
  509. for i,x in pairs(v:GetChildren()) do
  510. local oh1 = "eternalizePet"
  511. local oh2 = x.Name
  512. game:GetService("ReplicatedStorage").rEvents.petEternalizeEvent:FireServer(oh1, oh2)
  513. end
  514. end
  515. end
  516. end
  517. end
  518. end)
  519.  
  520. spawn(function()
  521. while wait(3) do
  522. if Misc.flags.Immortalize then
  523. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  524. for i,v in pairs(game:GetService("Players").LocalPlayer.petsFolder:GetChildren()) do
  525. for i,x in pairs(v:GetChildren()) do
  526. local oh1 = "immortalizePet"
  527. local oh2 = x.Name
  528. game:GetService("ReplicatedStorage").rEvents.petImmortalizeEvent:FireServer(oh1, oh2)
  529. end
  530. end
  531. end
  532. end
  533. end
  534. end)
  535.  
  536. spawn(function()
  537. while wait(3) do
  538. if Misc.flags.Legend then
  539. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  540. for i,v in pairs(game:GetService("Players").LocalPlayer.petsFolder:GetChildren()) do
  541. for i,x in pairs(v:GetChildren()) do
  542. local oh1 = "legendPet"
  543. local oh2 = x.Name
  544. game:GetService("ReplicatedStorage").rEvents.petLegendEvent:FireServer(oh1, oh2)
  545. end
  546. end
  547. end
  548. end
  549. end
  550. end)
  551.  
  552. spawn(function()
  553. while wait(1) do
  554. if Misc.flags.SBasic then
  555. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  556. for i,v in pairs(game.Players.LocalPlayer.petsFolder.Basic:GetChildren()) do
  557. game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
  558. end
  559. end
  560. end
  561. end
  562. end)
  563.  
  564. spawn(function()
  565. while wait(1) do
  566. if Misc.flags.SAdvanced then
  567. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  568. for i,v in pairs(game.Players.LocalPlayer.petsFolder.Advanced:GetChildren()) do
  569. game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
  570. end
  571. end
  572. end
  573. end
  574. end)
  575.  
  576. spawn(function()
  577. while wait(1) do
  578. if Misc.flags.SRare then
  579. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  580. for i,v in pairs(game.Players.LocalPlayer.petsFolder.Rare:GetChildren()) do
  581. game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
  582. end
  583. end
  584. end
  585. end
  586. end)
  587.  
  588. spawn(function()
  589. while wait(1) do
  590. if Misc.flags.SEpic then
  591. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  592. for i,v in pairs(game.Players.LocalPlayer.petsFolder.Epic:GetChildren()) do
  593. game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
  594. end
  595. end
  596. end
  597. end
  598. end)
  599.  
  600. spawn(function()
  601. while wait(1) do
  602. if Misc.flags.SUnique then
  603. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  604. for i,v in pairs(game.Players.LocalPlayer.petsFolder.Unique:GetChildren()) do
  605. game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
  606. end
  607. end
  608. end
  609. end
  610. end)
  611.  
  612. spawn(function()
  613. while wait(1) do
  614. if Misc.flags.SOmega then
  615. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  616. for i,v in pairs(game.Players.LocalPlayer.petsFolder.Omega:GetChildren()) do
  617. game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
  618. end
  619. end
  620. end
  621. end
  622. end)
  623.  
  624. spawn(function()
  625. while wait(.001) do
  626. if Misc.flags.Fast then
  627. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  628. local plr = game.Players.LocalPlayer
  629. local Mouse = plr:GetMouse()
  630. local velocity = 1000
  631. for _,p in pairs(game.Workspace.shurikensFolder:GetChildren()) do
  632. if p.Name == "Handle" then
  633. if p:FindFirstChild("BodyVelocity") then
  634. local bv = p:FindFirstChildOfClass("BodyVelocity")
  635. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  636. bv.Velocity = Mouse.Hit.lookVector * velocity
  637. end
  638. end
  639. end
  640. end
  641. end
  642. end
  643. end)
  644.  
  645. local vu = game:GetService("VirtualUser")
  646. game:GetService("Players").LocalPlayer.Idled:connect(
  647. function()
  648. vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  649. wait(1)
  650. vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  651. end)
Add Comment
Please, Sign In to add comment