Meliodas0_0

cracked saber simlator gui

Nov 3rd, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.08 KB | None | 0 0
  1. ALLOWED_ACCESS = {
  2. [723041634] = true,
  3. [407997511] = true,
  4. [1159597643] = true,
  5. [946795634] = true,
  6. [19624173] = true,
  7. [343173836] = true,
  8. [1262653384] = true,
  9. [547048655] = true,
  10. [970786711] = true,
  11. [848626408] = true,
  12. [934186290] = true,
  13. [1025251284] = true,
  14. [276303598] = true,
  15. [547398219] = true,
  16. [148144736] = true,
  17.  
  18. }
  19.  
  20. function checkifallowed(userid)
  21. if ALLOWED_ACCESS[userid] then
  22. return true
  23. else
  24. return false
  25. end
  26. end
  27.  
  28. wait(2)
  29.  
  30. if checkifallowed(game.Players.LocalPlayer.UserId) then
  31. pcall(function()
  32. if getgenv().exe ~= true then
  33. --Library
  34. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  35.  
  36. --Main
  37. local w = library:CreateWindow('Saber Farm')
  38.  
  39. --Credit Tab
  40. local cred = library:CreateWindow('Credits')
  41.  
  42. --Credits
  43. cred:Section('Scripts: Guerra')
  44. cred:Section('UI Library: wally')
  45. cred:Section('Seller: Guerra')
  46.  
  47. cred:Label('Thank for Purchase')
  48.  
  49. --Top
  50. w:Section('Made by Megumu & Guerra')
  51.  
  52. --Toogle
  53. w:Section('Auto Farms')
  54. local t = w:Toggle('Strength', {flag = "farm"})
  55. local t = w:Toggle('Boss', {flag = "boss"})
  56. local t = w:Toggle('Daily Reward', {flag = "daily"})
  57.  
  58. --Section
  59. w:Section('Auto Upgrade')
  60.  
  61. --Toogles
  62. local t = w:Toggle('Saber', {flag = "saber"})
  63. local t = w:Toggle('DNA', {flag = "dna"})
  64. local t = w:Toggle('Class', {flag = "class"})
  65. local t = w:Toggle('Aura', {flag = "aura"})
  66.  
  67. --Section
  68. w:Section('Auto Sell')
  69.  
  70. --Toogles
  71. local t = w:Toggle('Enabled', {flag = "sell"})
  72. local t = w:Toggle('Fill', {flag = "fill"})
  73.  
  74. --Section
  75. w:Section('Teleports')
  76.  
  77. --Toggles
  78. local t = w:Toggle('Coins', {flag = "coins"})
  79. local t = w:Toggle('Candy', {flag = "corn"})
  80. local t = w:Toggle('NoClip', {flag = "noclip"})
  81. local t = w:Slider("TP Speed", {
  82. min = 30;
  83. max = 50;
  84. flag = 'tpspeed'
  85. },function(v)
  86. getgenv().tpspeed = tonumber(v)
  87. end)
  88.  
  89. local h = library:CreateWindow('Not VIP Servers')
  90.  
  91. h:Section('Farm')
  92.  
  93. local z = h:Toggle('Capture all Flags', {flag = "flagss"})
  94. local z = h:Toggle('Hill!', {flag = "hill"})
  95. --Pets
  96. local pet = library:CreateWindow('Pets')
  97.  
  98. --Toggles
  99. pet:Section('Auto Buy')
  100. local t = pet:Toggle('Auto Buy x1', {flag = "petbuy"})
  101. local t = pet:Toggle('Auto Buy x3', {flag = "petbuy1"})
  102. pet:Section('Autobuy x3 works ONLY')
  103. pet:Section('if you have x3 Gamepass')
  104.  
  105. --Get List
  106. local elist = {}
  107. for i,v in pairs(game.ReplicatedStorage.Eggs:GetChildren()) do
  108. table.insert(elist, v.Name)
  109. end
  110. pet:Dropdown("Eggs", {
  111. location = getgenv();
  112. flag = "egg";
  113. list = elist
  114. }, function(new)
  115. getgenv().egg = tostring(new)
  116. print(new)
  117. end)
  118.  
  119. --Settings
  120. pet:Section('Auto Sell')
  121. local t = pet:Toggle('Auto Sell', {flag = "petsell"})
  122. local box = pet:Box('Strength', {
  123. flag = "str";
  124. type = 'number';
  125. }, function(new, old, enter)
  126. getgenv().petstrength = new
  127. end)
  128. local box = pet:Box('Coins', {
  129. flag = "str";
  130. type = 'number';
  131. }, function(new, old, enter)
  132. getgenv().petcoin = new
  133. end)
  134. local box = pet:Box('Crowns', {
  135. flag = "str";
  136. type = 'number';
  137. }, function(new, old, enter)
  138. getgenv().petcrown = new
  139. end)
  140. pet:Section('Auto Sell Rarity')
  141. local t = pet:Toggle('Commons', {flag = "common"})
  142. local t = pet:Toggle('Un-commons', {flag = "uncommon"})
  143. local t = pet:Toggle('Rare', {flag = "rare"})
  144. local t = pet:Toggle('Epic', {flag = "epic"})
  145. local t = pet:Toggle('Legendary', {flag = "legendary"})
  146. local t = pet:Toggle('Moon', {flag = "moon"})
  147. pet:Section('If you select the "Moon"')
  148. pet:Section('You are SOO Stupid.')
  149. pet:Section('AUTO CRAFT ALL PETS')
  150. local t = pet:Toggle('Auto Craft Golden', {flag = "combineg"})
  151. local t = pet:Toggle('Auto Craft Shiny', {flag = "combines"})
  152. local t = pet:Toggle('Auto Craft Rainbow', {flag = "combiner"})
  153.  
  154.  
  155. --Anti-AFK
  156. local VirtualUser=game:service'VirtualUser'
  157. game:GetService("Players").LocalPlayer.Idled:connect(function()
  158. VirtualUser:CaptureController()
  159. VirtualUser:ClickButton2(Vector2.new())
  160. end)
  161.  
  162. --Globals
  163. getgenv().exe = true
  164. getgenv().petcrown = 1
  165. getgenv().petcoin = 1
  166. getgenv().petstrength = 1
  167. getgenv().tpspeed = 30
  168. getgenv().egg = "Basic Egg"
  169. getgenv().TELEPORTING = false
  170.  
  171. --Variables
  172. local RS = game.ReplicatedStorage
  173. local events = RS.Events
  174. local player = game.Players.LocalPlayer
  175.  
  176. if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(game.Players.LocalPlayer.UserId, 7163507) then
  177. getgenv().speedGP = true;
  178. else
  179. getgenv().SpeedGP = false;
  180. end
  181.  
  182. --Credits
  183. for i = 1, 3 do
  184. game:GetService"StarterGui":SetCore('SendNotification', {
  185. Title = "Discord: BzTXuEk";
  186. Text = "Updated by Guerra";
  187. Duration = 30;
  188. })
  189. end
  190.  
  191. --Check
  192. function check(p, i)
  193. if p:FindFirstChild(i) then
  194. return true
  195. else
  196. return false
  197. end
  198. end
  199.  
  200. --Equip
  201. function equip()
  202. if player.Character:FindFirstChildOfClass("Tool") then
  203. return true
  204. elseif player:FindFirstChild("Backpack") and player.Backpack:FindFirstChildOfClass("Tool") and player.Character:FindFirstChild("Humanoid") then
  205. repeat
  206. if player:FindFirstChild("Backpack") and player.Character:FindFirstChild("Humanoid") and player.Backpack:FindFirstChildOfClass("Tool") then
  207. player.Character.Humanoid:EquipTool(player.Backpack:FindFirstChildOfClass("Tool"))
  208. end
  209. wait()
  210. until player.Character:FindFirstChildOfClass("Tool")
  211. return true
  212. else
  213. return false
  214. end
  215. end
  216.  
  217. --NoClip
  218. spawn(function()
  219. while wait(0.25) do
  220. if w.flags.noclip and tostring(Stepped) ~= "Connection" then
  221. Stepped = game:GetService('RunService').Stepped:Connect(function()
  222. if player.Character and player.Character:FindFirstChild("Humanoid") then
  223. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  224. end
  225. end)
  226. elseif not w.flags.noclip and Stepped then
  227. Stepped:Disconnect()
  228. Stepped = nil
  229. end
  230. end
  231. end)
  232.  
  233. --Delete Pet
  234. function petdel(pet)
  235. events.PetCommand:FireServer(pet.Name, "Delete")
  236. end
  237. -- Combine Pet
  238. function combinepet(pet)
  239. events.PetCommand:FireServer(pet.Name, "Combine")
  240. end
  241. --Pet Buy
  242. spawn(function()
  243. while wait(0.15) do
  244. if pet.flags.petbuy then
  245. if RS.Eggs:FindFirstChild(getgenv().egg) then
  246. events.HatchEggs:InvokeServer(RS.Eggs[getgenv().egg], 1)
  247. wait(0.15)
  248. end
  249. end
  250. end
  251. end)
  252. spawn(function()
  253. while wait(0.15) do
  254. if pet.flags.petbuy1 then
  255. if RS.Eggs:FindFirstChild(getgenv().egg) then
  256. events.HatchEggs:InvokeServer(RS.Eggs[getgenv().egg], 3)
  257. wait(0.15)
  258. end
  259. end
  260. end
  261. end)
  262.  
  263. ------------------------------------------------------------------------COMMON PET
  264. spawn(function()
  265. while wait(0.15) do
  266. if pet.flags.common then
  267. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  268. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  269. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  270. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  271. if v.IMG:FindFirstChild("Cat") then
  272. petdel(v)
  273. elseif v.IMG:FindFirstChild("Pig") then
  274. petdel(v)
  275. elseif v.IMG:FindFirstChild("Noob") then
  276. petdel(v)
  277. elseif v.IMG:FindFirstChild("Dog") then
  278. petdel(v)
  279. elseif v.IMG:FindFirstChild("Penguin") then
  280. petdel(v)
  281. elseif v.IMG:FindFirstChild("Magma") then
  282. petdel(v)
  283. elseif v.IMG:FindFirstChild("Owl") then
  284. petdel(v)
  285. elseif v.IMG:FindFirstChild("Ninja") then
  286. petdel(v)
  287. elseif v.IMG:FindFirstChild("Sheep") then
  288. petdel(v)
  289. elseif v.IMG:FindFirstChild("Clown") then
  290. petdel(v)
  291. end
  292. wait()
  293. end
  294. end
  295. end
  296. end
  297. end
  298. end)
  299. ------------------------------------------------------------------------UNCOMMON PET
  300. spawn(function()
  301. while wait(0.15) do
  302. if pet.flags.uncommon then
  303. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  304. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  305. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  306. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  307. if v.IMG:FindFirstChild("Panda") then
  308. petdel(v)
  309. elseif v.IMG:FindFirstChild("Bunny") then
  310. petdel(v)
  311. elseif v.IMG:FindFirstChild("Spider") then
  312. petdel(v)
  313. elseif v.IMG:FindFirstChild("Vampire") then
  314. petdel(v)
  315. elseif v.IMG:FindFirstChild("Bee") then
  316. petdel(v)
  317. elseif v.IMG:FindFirstChild("Shark") then
  318. petdel(v)
  319. elseif v.IMG:FindFirstChild("Iris") then
  320. petdel(v)
  321. elseif v.IMG:FindFirstChild("Television") then
  322. petdel(v)
  323. elseif v.IMG:FindFirstChild("Duck") then
  324. petdel(v)
  325. elseif v.IMG:FindFirstChild("Royal Red") then
  326. petdel(v)
  327. end
  328. wait()
  329. end
  330. end
  331. end
  332. end
  333. end
  334. end)
  335. ------------------------------------------------------------------------RARE PET
  336. spawn(function()
  337. while wait(0.15) do
  338. if pet.flags.rare then
  339. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  340. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  341. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  342. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  343. if v.IMG:FindFirstChild("Cow") then
  344. petdel(v)
  345. elseif v.IMG:FindFirstChild("Elephant") then
  346. petdel(v)
  347. elseif v.IMG:FindFirstChild("Purple Spider") then
  348. petdel(v)
  349. elseif v.IMG:FindFirstChild("Frankenstein") then
  350. petdel(v)
  351. elseif v.IMG:FindFirstChild("Zombie Dog") then
  352. petdel(v)
  353. elseif v.IMG:FindFirstChild("Bat") then
  354. petdel(v)
  355. elseif v.IMG:FindFirstChild("Demon") then
  356. petdel(v)
  357. elseif v.IMG:FindFirstChild("Fiery Slime") then
  358. petdel(v)
  359. elseif v.IMG:FindFirstChild("Butterfly") then
  360. petdel(v)
  361. elseif v.IMG:FindFirstChild("King") then
  362. petdel(v)
  363. elseif v.IMG:FindFirstChild("Angel") then
  364. petdel(v)
  365. elseif v.IMG:FindFirstChild("Tiger") then
  366. petdel(v)
  367. elseif v.IMG:FindFirstChild("Bubbles") then
  368. petdel(v)
  369. elseif v.IMG:FindFirstChild("Werewolf") then
  370. petdel(v)
  371. elseif v.IMG:FindFirstChild("Halfy") then
  372. petdel(v)
  373. end
  374. wait()
  375. end
  376. end
  377. end
  378. end
  379. end
  380. end)
  381. ------------------------------------------------------------------------EPIC PET
  382. spawn(function()
  383. while wait(0.15) do
  384. if pet.flags.epic then
  385. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  386. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  387. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  388. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  389. if v.IMG:FindFirstChild("Turtle") then
  390. petdel(v)
  391. elseif v.IMG:FindFirstChild("Reaper") then
  392. petdel(v)
  393. elseif v.IMG:FindFirstChild("Neon Bat") then
  394. petdel(v)
  395. elseif v.IMG:FindFirstChild("Demonfly") then
  396. petdel(v)
  397. elseif v.IMG:FindFirstChild("Neon Green") then
  398. petdel(v)
  399. elseif v.IMG:FindFirstChild("Alien") then
  400. petdel(v)
  401. elseif v.IMG:FindFirstChild("C.C Bot") then
  402. petdel(v)
  403. elseif v.IMG:FindFirstChild("Spider Queen") then
  404. petdel(v)
  405. elseif v.IMG:FindFirstChild("Mad Scientist") then
  406. petdel(v)
  407. end
  408. wait()
  409. end
  410. end
  411. end
  412. end
  413. end
  414. end)
  415. ------------------------------------------------------------------------LEGENDARY PET
  416. spawn(function()
  417. while wait(0.15) do
  418. if pet.flags.legendary then
  419. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  420. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  421. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  422. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  423. if v.IMG:FindFirstChild("Pumpkin") then
  424. petdel(v)
  425. elseif v.IMG:FindFirstChild("Volcano") then
  426. petdel(v)
  427. elseif v.IMG:FindFirstChild("Apollo") then
  428. petdel(v)
  429. elseif v.IMG:FindFirstChild("Blink-o") then
  430. petdel(v)
  431. elseif v.IMG:FindFirstChild("Overseer") then
  432. petdel(v)
  433. elseif v.IMG:FindFirstChild("Dusk Reaper") then
  434. petdel(v)
  435. end
  436. wait()
  437. end
  438. end
  439. end
  440. end
  441. end
  442. end)
  443. ------------------------------------------------------------------------MOON PET
  444. spawn(function()
  445. while wait(0.15) do
  446. if pet.flags.moon then
  447. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  448. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  449. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  450. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  451. if v.IMG:FindFirstChild("Dual Green Reaper") then
  452. petdel(v)
  453. elseif v.IMG:FindFirstChild("Zappy") then
  454. petdel(v)
  455. end
  456. wait()
  457. end
  458. end
  459. end
  460. end
  461. end
  462. end)
  463. -----------------------COMBINE PET-- GOLDEN
  464. spawn(function()
  465. while wait(0.15) do
  466. if pet.flags.combineg then
  467. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  468. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  469. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  470. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  471. if v:FindFirstChild("Shiny") and v.Shiny.Visible == false then
  472. if v:FindFirstChild("Golden") and v.Golden.Visible == false then
  473. if v:FindFirstChild("Rainbow") and v.Rainbow.Visible == false then
  474. combinepet(v)
  475. end
  476. wait()
  477. end
  478. end
  479. end
  480. end
  481. end
  482. end
  483. end
  484. end)
  485. -----------------------COMBINE PET-- SHINY
  486. spawn(function()
  487. while wait(0.15) do
  488. if pet.flags.combines then
  489. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  490. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  491. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  492. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  493. if v:FindFirstChild("Shiny") and v.Shiny.Visible == false then
  494. if v:FindFirstChild("Rainbow") and v.Rainbow.Visible == false then
  495. if v:FindFirstChild("Golden") and v.Golden.Visible == true then
  496. combinepet(v)
  497. end
  498. wait()
  499. end
  500. end
  501. end
  502. end
  503. end
  504. end
  505. end
  506. end)
  507. -----------------------COMBINE PET-- RAINBOW
  508. spawn(function()
  509. while wait(0.15) do
  510. if pet.flags.combiner then
  511. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  512. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  513. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  514. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  515. if v:FindFirstChild("Rainbow") and v.Rainbow.Visible == false then
  516. if v:FindFirstChild("Golden") and v.Golden.Visible == false then
  517. if v:FindFirstChild("Shiny") and v.Shiny.Visible == true then
  518. combinepet(v)
  519. end
  520. wait()
  521. end
  522. end
  523. end
  524. end
  525. end
  526. end
  527. end
  528. end)
  529. --Pet Sell
  530. spawn(function()
  531. while wait(0.15) do
  532. if pet.flags.petsell then
  533. if check(player, "PlayerGui") and check(player.PlayerGui, "Gui") and check(player.PlayerGui.Gui, "Submenus") and check(player.PlayerGui.Gui.Submenus, "PetsInventory") and check(player.PlayerGui.Gui.Submenus.PetsInventory, "PetsFrame") and check(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame, "Frame") then
  534. for i,v in pairs(player.PlayerGui.Gui.Submenus.PetsInventory.PetsFrame.Frame:GetChildren()) do
  535. if v:IsA("ImageButton") and check(v, "IMG") and v.IMG:FindFirstChildOfClass("ViewportFrame") then
  536. local PLR_PET = v.IMG:FindFirstChildOfClass("ViewportFrame").Name
  537. if v:FindFirstChild("Shiny") and v.Shiny.Visible == true then
  538. Shiny = 2;
  539. elseif v:FindFirstChild("Golden") and v.Golden.Visible == true then
  540. Shiny = 1.5;
  541. elseif v:FindFirstChild("Rainbow") and v.Rainbow.Visible == true then
  542. Shiny = 2.5;
  543. else -- normal pet
  544. Shiny = 1;
  545. end
  546. if RS.Pets:FindFirstChild(PLR_PET) then
  547. if RS.Pets[PLR_PET].StrengthMulti.Value * Shiny < getgenv().petstrength then
  548. petdel(v)
  549. end
  550. wait()
  551. if RS.Pets[PLR_PET].CoinsMulti.Value * Shiny < getgenv().petcoin then
  552. petdel(v)
  553. end
  554. wait()
  555. if RS.Pets[PLR_PET].CrownsMulti.Value * Shiny < getgenv().petcrown then
  556. petdel(v)
  557. end
  558. wait()
  559. end
  560. end
  561. end
  562. end
  563. end
  564. end
  565. end)
  566.  
  567.  
  568.  
  569.  
  570. --Auto Stuff
  571. spawn(function()
  572. while true do
  573. if w.flags.farm then
  574. --AutoSaber
  575. if w.flags.saber then
  576. for i,v in pairs(RS.ShopItems.Swords:GetChildren()) do
  577. if not v:FindFirstChild("ID") then
  578. events.BuyItem:FireServer(v)
  579. end
  580. end
  581. end
  582. wait(0.5)
  583. --AutoDNA
  584. if w.flags.dna then
  585. for i,v in pairs(RS.ShopItems.Backpacks:GetChildren()) do
  586. if not v:FindFirstChild("ID") then
  587. events.BuyItem:FireServer(v)
  588. end
  589. end
  590. end
  591. wait(0.5)
  592. --AutoClass
  593. if w.flags.class then
  594. for i,v in pairs(RS.ShopItems.Classes:GetChildren()) do
  595. if not v:FindFirstChild("ID") then
  596. events.BuyItem:FireServer(v)
  597. end
  598. end
  599. end
  600. wait(0.5)
  601. --Daily
  602. if w.flags.daily then
  603. if workspace.DailyReward.Location.BillboardGui.Frame.TextLabel2.Text == "DAILY REWARD" and check(player.Character, "HumanoidRootPart") then
  604. getgenv().TELEPORTING = true;
  605. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(workspace.DailyReward.Location.Position)/getgenv().tpspeed, Enum.EasingStyle.Linear), {CFrame = workspace.DailyReward.Location.CFrame}):Play()
  606. wait(player:DistanceFromCharacter(workspace.DailyReward.Location.Position)/getgenv().tpspeed)
  607. getgenv().TELEPORTING = false;
  608. end
  609. end
  610. wait(0.5)
  611. if w.flags.aura then
  612. for i,v in pairs(RS.ShopItems.Auras:GetChildren()) do
  613. if not v:FindFirstChild("ID") then
  614. events.BuyItem:FireServer(v)
  615. end
  616. end
  617. end
  618. wait(0.5)
  619. else
  620. wait(0.5)
  621. end
  622. end
  623. wait()
  624. end)
  625.  
  626. --Boss
  627. spawn(function()
  628. while wait() do
  629. if w.flags.boss then
  630. if getgenv().TELEPORTING == false and check(workspace, "Boss") and check(workspace.Boss, "Health") and workspace.Boss.Health.Value > 0 and check(player.Character, "HumanoidRootPart") then
  631. enemy = workspace:FindFirstChild("Boss")
  632. getgenv().TELEPORTING = true
  633. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(enemy.HumanoidRootPart.Position)/getgenv().tpspeed, Enum.EasingStyle.Linear), {CFrame = enemy.HumanoidRootPart.CFrame}):Play()
  634. wait(player:DistanceFromCharacter(enemy.HumanoidRootPart.Position)/getgenv().tpspeed)
  635. repeat
  636. if player.Character:FindFirstChild("HumanoidRootPart") and enemy:FindFirstChild("HumanoidRootPart") and player:DistanceFromCharacter(enemy.HumanoidRootPart.Position) < 10 then
  637. player.Character.HumanoidRootPart.CFrame = enemy.HumanoidRootPart.CFrame
  638. if equip() then
  639. player.Character:FindFirstChildOfClass("Tool").RemoteClick:FireServer()
  640. end
  641. wait()
  642. elseif check(player.Character, "HumanoidRootPart") and check(enemy, "HumanoidRootPart") then
  643. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(enemy.HumanoidRootPart.Position)/getgenv().tpspeed, Enum.EasingStyle.Linear), {CFrame = enemy.HumanoidRootPart.CFrame}):Play()
  644. wait(player:DistanceFromCharacter(enemy.HumanoidRootPart.Position)/getgenv().tpspeed)
  645. end
  646. until w.flags.boss == false or enemy == nil or enemy.Parent == nil or not enemy:FindFirstChild("Health") or enemy.Health.Value <= 0
  647. getgenv().TELEPORTING = false
  648. end
  649. end
  650. end
  651. end)
  652.  
  653. --Find Nearest
  654. function nearest(Pose, type)
  655. local Closest
  656. local Distance = math.huge
  657. for _,v in pairs(workspace[type]:GetChildren()) do
  658. if getgenv().TELEPORTING == false and v:FindFirstChild("TouchInterest") and player.Character:FindFirstChild("HumanoidRootPart") then
  659. local newDistance = (v.Position - Pose).magnitude
  660. if newDistance < Distance then
  661. Closest = v
  662. Distance = newDistance
  663. end
  664. end
  665. end
  666. return Closest
  667. end
  668.  
  669. --TP Collect
  670. function collect(type)
  671. repeat
  672. if check(player.Character, "HumanoidRootPart") then
  673. v = nearest(player.Character.HumanoidRootPart.Position, type)
  674. end
  675. wait(0.25)
  676. until v ~= nil
  677. if getgenv().TELEPORTING == false and v:FindFirstChild("TouchInterest") and player.Character:FindFirstChild("HumanoidRootPart") then
  678. getgenv().TELEPORTING = true
  679. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(v.Position)/getgenv().tpspeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  680. wait(player:DistanceFromCharacter(v.Position)/getgenv().tpspeed)
  681. getgenv().TELEPORTING = false
  682. return
  683. end
  684. end
  685.  
  686. --Collect Coins
  687. spawn(function()
  688. while true do
  689. if w.flags.coins then
  690. collect("CoinsHolder")
  691. end
  692. wait(0.25)
  693. if w.flags.corn then
  694. collect("CandyHolder")
  695. end
  696. wait(0.25)
  697. end
  698. end)
  699.  
  700. --Sell
  701. spawn(function()
  702. while wait() do
  703. if w.flags.sell then
  704. if w.flags.fill and player:FindFirstChild("PlayerGui") and player.PlayerGui:FindFirstChild("Gui") and player.PlayerGui.Gui:FindFirstChild("Home") and player.PlayerGui.Gui.Home:FindFirstChild("Sand") and player.PlayerGui.Gui.Home.Sand:FindFirstChild("Amount") then
  705. if string.split(player.PlayerGui.Gui.Home.Sand.Amount.Text, " / ")[1] == string.split(player.PlayerGui.Gui.Home.Sand.Amount.Text, " / ")[2] then
  706. if check(player.Character, "HumanoidRootPart") and player:DistanceFromCharacter(workspace.Locations.Sell.Position) > 15 and getgenv().TELEPORTING == false then
  707. getgenv().TELEPORTING = true
  708. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(workspace.Locations.Sell.Position)/getgenv().tpspeed, Enum.EasingStyle.Linear), {CFrame = workspace.Locations.Sell.CFrame}):Play()
  709. wait(player:DistanceFromCharacter(workspace.Locations.Sell.Position)/getgenv().tpspeed)
  710. getgenv().TELEPORTING = false
  711. end
  712. events.Sell:FireServer()
  713. end
  714. else
  715. if check(player.Character, "HumanoidRootPart") and player:DistanceFromCharacter(workspace.Locations.Sell.Position) > 15 and getgenv().TELEPORTING == false then
  716. getgenv().TELEPORTING = true
  717. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(workspace.Locations.Sell.Position)/getgenv().tpspeed, Enum.EasingStyle.Linear), {CFrame = workspace.Locations.Sell.CFrame}):Play()
  718. wait(player:DistanceFromCharacter(workspace.Locations.Sell.Position)/getgenv().tpspeed)
  719. getgenv().TELEPORTING = false
  720. end
  721. events.Sell:FireServer()
  722. end
  723. end
  724. end
  725. end)
  726. spawn(function()
  727. while wait() do
  728. local CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  729. for i , v in pairs(game.Workspace.Flags:GetChildren()) do
  730. if v.OwnerValue.Value ~= game.Players.LocalPlayer.Name then
  731. if h.flags.flagss and getgenv().TELEPORTING == false then
  732. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Base.CFrame
  733. repeat
  734. wait()
  735. until v.OwnerValue.Value == game.Players.LocalPlayer.Name
  736. wait(13.5)
  737. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame
  738. end
  739. end
  740. end
  741. end
  742. end)
  743.  
  744. spawn(function()
  745. while wait() do
  746. if h.flags.hill and getgenv().TELEPORTING == false then
  747. if check(player.Character, "HumanoidRootPart") then
  748. getgenv().TELEPORTING = true
  749. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(workspace.Locations.KOH.Position)/getgenv().tpspeed, Enum.EasingStyle.Linear), {CFrame = workspace.Locations.KOH.CFrame}):Play()
  750. wait(player:DistanceFromCharacter(workspace.Locations.KOH.Position)/getgenv().tpspeed)
  751. getgenv().TELEPORTING = false
  752. end
  753. end
  754. end
  755. end)
  756.  
  757. --Strength
  758. while true do
  759. if w.flags.farm then
  760. --AutoFarm
  761. if equip() then
  762. events.Clicked:FireServer()
  763. if getgenv().speedGP then
  764. if player.Character:FindFirstChildOfClass("Tool"):FindFirstChild("SwingDelay") then
  765. wait(player.Character:FindFirstChildOfClass("Tool").SwingDelay.Value/2)
  766. else
  767. wait(1)
  768. end
  769. else
  770. if player.Character:FindFirstChildOfClass("Tool"):FindFirstChild("SwingDelay") then
  771. wait(player.Character:FindFirstChildOfClass("Tool").SwingDelay.Value)
  772. else
  773. wait(1)
  774. end
  775. end
  776. end
  777. end
  778. wait()
  779. end
  780. end
  781. end)
  782. else
  783. pcall(function()
  784. if getgenv().exe ~= true then
  785. --Library
  786. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  787.  
  788. --Main
  789. local w = library:CreateWindow('YOU NOT HAVE ACCESS')
  790.  
  791. --Credit Tab
  792. local cred = library:CreateWindow('Only Premium Users')
  793.  
  794. --Credits
  795. cred:Section('Buy this script from')
  796. cred:Section('GUERRA')
  797. cred:Section('Discord:')
  798. cred:Section('https://discord.gg/BzTXuEk')
  799. for i = 1, 5 do
  800. game:GetService"StarterGui":SetCore('SendNotification', {
  801. Title = "Discord: BzTXuEk";
  802. Text = "Updated by Guerra";
  803. Duration = 30;
  804. })
  805. end
  806. end
  807. end)
  808. end
Advertisement
Add Comment
Please, Sign In to add comment