Advertisement
brianops1

SpellBlade

Jul 5th, 2020
1,166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.41 KB | None | 0 0
  1. --Game: https://www.roblox.com/games/4489411976/4th-of-July-Spellblade-Legends
  2.  
  3. --https://detourious.gitbook.io/project-finity/docs
  4. if game:GetService("CoreGui"):FindFirstChild("FinityUI") then
  5.     game.CoreGui.FinityUI:Destroy()
  6. end
  7. local desc = [[
  8. V.4
  9. ]]
  10. local plr = game.Players.LocalPlayer
  11. local Finity = loadstring(game:HttpGet("http://finity.vip/scripts/finity_lib.lua"))()
  12. local FinityWindow = Finity.new(true)
  13. FinityWindow.ChangeToggleKey(Enum.KeyCode.Semicolon)
  14. local CreditsCategory = FinityWindow:Category("Credits/Info")
  15. local CreditsCreator = CreditsCategory:Sector("Finity Library Creator:")
  16. local ScriptCredit = CreditsCategory:Sector("Cheat Credit:")
  17. local Description = CreditsCategory:Sector("Description:")
  18. local OC = CreditsCategory:Sector("Open Close Button:")
  19. CreditsCreator:Cheat("Label", "detourious @ v3rmillion.net")
  20. ScriptCredit:Cheat("Label", "brianops16 @ v3rmillion.net")
  21. Description:Cheat("Label", desc)
  22. local Cheats = FinityWindow:Category("Cheats")
  23. local S1 = Cheats:Sector("Auto Hacks")
  24. local S2 = Cheats:Sector("Auto Settings")
  25. local S3 = Cheats:Sector("Kill Hacks")
  26. local S4 = Cheats:Sector("Special Abilities")
  27. local S5 = Cheats:Sector("Pet Utilities")
  28. local EnumKeys = {'Semicolon','Tab','Equals','Comma','Minus','Period','F1',"F2","F3","F4",'F5',"F6","F7",
  29. "F8","F9","F10","F11","F12",'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H',
  30.  'J', 'K', 'L', 'Z', 'X', 'C', 'V', 'B', 'N', 'M','Slash','One','Two','Three',"Four","Five","Six","Seven","Eight",
  31.  "Nine","Zero",'BackSlash','RightBracket','LeftBracket'}
  32. OC:Cheat("Dropdown", "(Default ';')", function(Option) --Dropdowns
  33.   print('Current key: '..Option)
  34.     FinityWindow.ChangeToggleKey(Enum.KeyCode[Option])
  35. end, {
  36.     options = EnumKeys
  37. })
  38.  
  39.  
  40.  
  41. function Launch(Pos)
  42.     local RemoteEvent = plr.Character:FindFirstChildOfClass("Tool").RemoteEvent
  43.     RemoteEvent:FireServer(
  44.     "FireProjectile",
  45.     Pos
  46.     )
  47. end
  48.  
  49. local Legendary = Color3.new (1, 0.6, 0)
  50. local Epic = Color3.new (0.6, 0.3, 1)
  51. local Rare = Color3.new (0, 0.6, 1)
  52. local Uncommon = Color3.new (0, 1, 0.4)
  53. local Common = Color3.new (0.6, 0.6, 0.6)
  54. local Legend,Epi,Rar,Uncom,Comm = false,false,false,false,false
  55.  
  56. local aura = 75
  57. local Purchase = game:GetService("ReplicatedStorage").Remotes.Purchase
  58. local M = 1000
  59. local RankUp,WeaponUp,AuraUp = false,false,false
  60. local TpLoc = "Random"
  61. local Speed = .5
  62. local LocationNames = {}
  63.  
  64. function TpToSpawns()
  65.     local root = plr.Character:FindFirstChild("HumanoidRootPart")
  66.     if root then
  67.         local Points = game:GetService("Workspace")["SpawnPoints"]
  68.         local Area = Points:GetChildren()
  69.         if TpLoc == "Random" then
  70.             Area = Area[math.random(1,#Area)]
  71.         else
  72.             Area = Points[TpLoc]
  73.         end
  74.         local Norm = Area:GetChildren()
  75.         Norm = Norm[math.random(1,#Norm)]
  76.         local Spawn = Norm:GetChildren()
  77.         Spawn = Spawn[math.random(1,#Spawn)]
  78.         root.CFrame = Spawn.CFrame
  79.         root.Velocity = Vector3.new(0,0,0)
  80.         if TpLoc ~= "Random" then
  81.             wait(.5)
  82.         else
  83.             wait(1)
  84.         end
  85.     end
  86. end
  87.  
  88. function UpdateNames()
  89.     LocationNames = {}
  90.     table.insert(LocationNames,"Random")
  91.     for i,v in pairs(game:GetService("Workspace")["SpawnPoints"]:GetChildren()) do
  92.         table.insert(LocationNames,v.Name)
  93.     end
  94. end
  95. UpdateNames()
  96.  
  97.  
  98.  
  99. S1:Cheat("Checkbox","AutoFarmMoney",
  100. function(State)
  101.     if not State then
  102.         _G.on3 = 0
  103.     else
  104.         _G.on3 = 1
  105.         while _G.on3 == 1 do
  106.             pcall(function()
  107.                 local root = plr.Character:FindFirstChild("HumanoidRootPart")
  108.                 local C = tonumber(game:GetService("Players")["LocalPlayer"]["leaderstats"]["Magic"].Value)
  109.                 if C >= M then
  110.                     local bef = root.CFrame
  111.                     root.CFrame = CFrame.new(game:GetService("Workspace")["Rings"].SellRing.Position)
  112.                     wait(.1)
  113.                     root.CFrame = bef
  114.                 else
  115.                     local tool = plr.Character:FindFirstChildOfClass("Tool")
  116.                     if tool then
  117.                         local RemoteEvent = tool.RemoteEvent
  118.                         RemoteEvent:FireServer(
  119.                             "Attack",
  120.                             1
  121.                         )
  122.                     end
  123.                 end
  124.                 if RankUp then
  125.                     Purchase:InvokeServer("Rank")
  126.                 end
  127.                 if WeaponUp then
  128.                     Purchase:InvokeServer("AllWeapons")
  129.                 end
  130.                 if AuraUp then
  131.                     Purchase:InvokeServer("AllAuras")
  132.                 end
  133.                 if not plr.Character:FindFirstChildOfClass("Tool") then
  134.                     game:GetService("ReplicatedStorage").Remotes.EquipSpellblade:FireServer()
  135.                 end
  136.             end)
  137.             wait()
  138.         end
  139.     end
  140. end
  141. )
  142.  
  143. S1:Cheat("Checkbox","AutoHit",
  144. function(State)
  145.     if not State then
  146.         _G.on2 = 0
  147.     else
  148.         _G.on2 = 1
  149.         while _G.on2 == 1 do
  150.             pcall(function()
  151.                 local root = plr.Character:FindFirstChild("HumanoidRootPart")
  152.                 local tool = plr.Character:FindFirstChildOfClass("Tool")
  153.                 if tool then
  154.                     local RemoteEvent = tool.RemoteEvent
  155.                     RemoteEvent:FireServer(
  156.                         "Attack",
  157.                         1
  158.                     )
  159.                 end
  160.             end)
  161.             wait()
  162.         end
  163.     end
  164. end
  165. )
  166.  
  167. --------------------------------------------------
  168.  
  169.  
  170. S2:Cheat("Textbox", "AutoSellAmt", function(Value) --Textbox
  171.     if not pcall(function()
  172.         M = tonumber(Value)
  173.     end) then
  174.         M = 1000
  175.     end
  176. end, {
  177.     placeholder = "1k Default"
  178. })
  179.  
  180. S2:Cheat("Checkbox","AutoRankUp",
  181. function(State)
  182.     if not State then
  183.         RankUp = false
  184.     else
  185.         RankUp = true
  186.     end
  187. end
  188. )
  189.  
  190. S2:Cheat("Checkbox","AutoWepUp",
  191. function(State)
  192.     if not State then
  193.         WeaponUp = false
  194.     else
  195.         WeaponUp = true
  196.     end
  197. end
  198. )
  199.  
  200. S2:Cheat("Checkbox","AutoAuraUp",
  201. function(State)
  202.     if not State then
  203.         AuraUp = false
  204.     else
  205.         AuraUp = true
  206.     end
  207. end
  208. )
  209.  
  210.  
  211. --------------------------------------------------
  212.  
  213. S3:Cheat("Slider", "KillAuraSpeed", function(Value)--Slider
  214.     Speed = tonumber(Value)
  215. end, {min = 0, max = 1, suffix = " seconds"})
  216.  
  217.  
  218. S3:Cheat("Checkbox","KillAuraPlayers",
  219. function(State)
  220.     if not State then
  221.         _G.on1 = 0
  222.     else
  223.         _G.on1 = 1
  224.         while _G.on1 == 1 do
  225.             wait(Speed)
  226.             pcall(function()
  227.                 local root = plr.Character:FindFirstChild("HumanoidRootPart")
  228.                 if root then
  229.                     for i,v in pairs(game.Players:GetChildren()) do
  230.                         if v and v ~= plr and v.Character:FindFirstChild("HumanoidRootPart") and v.Character.Humanoid.Health > 0 and not v.Character:FindFirstChild("SafezoneForceField") and (v.Character.HumanoidRootPart.Position - root.Position).Magnitude < aura then
  231.                             Launch(v.Character.HumanoidRootPart.Position)
  232.                         end
  233.                     end
  234.                 end
  235.             end)
  236.         end
  237.     end
  238. end
  239. )
  240.  
  241. S3:Cheat("Checkbox","KillAuraMobs",
  242. function(State)
  243.     if not State then
  244.         _G.on = 0
  245.     else
  246.         _G.on = 1
  247.         while _G.on == 1 do
  248.             wait(Speed)
  249.             pcall(function()
  250.                 local root = plr.Character:FindFirstChild("HumanoidRootPart")
  251.                 if root then
  252.                     for i,v in pairs(game:GetService("Workspace")["Mobs"]:GetChildren()) do
  253.                         if v and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 and (v.HumanoidRootPart.Position - root.Position).Magnitude < aura then
  254.                             Launch(v.HumanoidRootPart.Position)
  255.                         end
  256.                     end
  257.                 end
  258.             end)
  259.         end
  260.     end
  261. end
  262. )
  263.  
  264. S3:Cheat("Checkbox","TpToMobs",
  265. function(State)
  266.     if not State then
  267.         _G.on7 = 0
  268.     else
  269.         _G.on7 = 1
  270.         while _G.on7 == 1 do
  271.             game:GetService('RunService').Stepped:wait()
  272.             pcall(function()
  273.                 local root = plr.Character:FindFirstChild("HumanoidRootPart")
  274.                 if root then
  275.                     for i,v in pairs(game:GetService("Workspace")["Mobs"]:GetChildren()) do
  276.                         if v and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  277.                             local OldHp = v.Humanoid.Health
  278.                             local T = time()
  279.                             while v.Humanoid.Health > 0 and root and _G.on7 == 1 do
  280.                                 if time() - T  >= 5 then
  281.                                     if v.Humanoid.Health >= OldHp then
  282.                                         break
  283.                                     end
  284.                                 end
  285.                                 wait()
  286.                                 root.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,10,2)
  287.                                 root.Velocity = Vector3.new(0,0,0)
  288.                             end
  289.                         end
  290.                     end
  291.                     TpToSpawns()
  292.                 end
  293.             end)
  294.         end
  295.     end
  296. end
  297. )
  298.  
  299. local DropDown = S3:Cheat("Dropdown", "MobSpawnArea", function(Option) --Dropdowns
  300.     TpLoc = Option
  301. end, {
  302.     options = LocationNames
  303. })
  304.  
  305.  
  306. S3:Cheat("Button", "ResetMobAreas", function() --Button
  307.     UpdateNames()
  308.     DropDown:AddOption()
  309. end)
  310.  
  311.  
  312. --------------------------------------------------
  313.  
  314.  
  315. S4:Cheat("Button", "MegaBlast", function() --Button
  316.     pcall(function()
  317.         local root = plr.Character:FindFirstChild("HumanoidRootPart")
  318.         if root then
  319.             for i,v in pairs(game.Players:GetChildren()) do
  320.                 if v and v ~= plr and v.Character:FindFirstChild("HumanoidRootPart") and v.Character.Humanoid.Health > 0 and not v.Character:FindFirstChild("SafezoneForceField") and (v.Character.HumanoidRootPart.Position - root.Position).Magnitude < aura then
  321.                     for i = 1,30 do
  322.                         Launch(v.Character.HumanoidRootPart.Position)
  323.                     end
  324.                 end
  325.             end
  326.             for i,v in pairs(game:GetService("Workspace")["Mobs"]:GetChildren()) do
  327.                 if v and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 and (v.HumanoidRootPart.Position - root.Position).Magnitude < aura then
  328.                     for i = 1,30 do
  329.                         Launch(v.HumanoidRootPart.Position)
  330.                     end
  331.                 end
  332.             end
  333.         end
  334.     end)
  335. end)
  336.  
  337. ---------------------------------
  338.  
  339. local Egg = "Basic Egg"
  340. local Ops = {}
  341. for i,v in pairs(game:GetService("Workspace")["Eggs"]:GetChildren()) do
  342.     table.insert(Ops,v.Name)
  343. end
  344.  
  345. S5:Cheat("Dropdown", "EggType", function(Option) --Dropdowns
  346.     Egg = Option
  347. end, {
  348.     options = Ops
  349. })
  350.  
  351. S5:Cheat("Checkbox","Delete Legendaries",
  352. function(State)
  353.     if not State then
  354.         Legend = false
  355.     else
  356.         Legend = true
  357.     end
  358. end
  359. )
  360.  
  361. S5:Cheat("Checkbox","Delete Epics",
  362. function(State)
  363.     if not State then
  364.         Epi = false
  365.     else
  366.         Epi = true
  367.     end
  368. end
  369. )
  370.  
  371. S5:Cheat("Checkbox","Delete Rares",
  372. function(State)
  373.     if not State then
  374.         Rar = false
  375.     else
  376.         Rar = true
  377.     end
  378. end
  379. )
  380.  
  381. S5:Cheat("Checkbox","Delete Uncommons",
  382. function(State)
  383.     if not State then
  384.         Uncom = false
  385.     else
  386.         Uncom = true
  387.     end
  388. end
  389. )
  390.  
  391. S5:Cheat("Checkbox","Delete Commons",
  392. function(State)
  393.     if not State then
  394.         Comm = false
  395.     else
  396.         Comm = true
  397.     end
  398. end
  399. )
  400.  
  401. function ColorCheck(obj,col)
  402.  
  403.     --THIS IS THE DUMBEST SHIT I'VE EVER HAD TO DEAL WITH
  404.     --ROBLOX COLOR SYSTEMS CAN EAT MY ASS
  405.    
  406.     local Or = tonumber(string.match(tostring(obj.ImageColor3.R),".\..")) or obj.ImageColor3.R
  407.     local Ob = tonumber(string.match(tostring(obj.ImageColor3.G),".\..")) or obj.ImageColor3.G
  408.     local Og = tonumber(string.match(tostring(obj.ImageColor3.B),".\..")) or obj.ImageColor3.B
  409.     local Cr = tonumber(string.match(tostring(col.R),".\..")) or col.R
  410.     local Cb = tonumber(string.match(tostring(col.G),".\..")) or col.G
  411.     local Cg = tonumber(string.match(tostring(col.B),".\..")) or col.B
  412.  
  413.     --LIKE WHY THE FUCK DO I HAVE TO MINIMIZE THE GOD DAMN COLORS
  414.     --SO THEY ONLY GO UP TO THE TENTH DECIMAL
  415.  
  416.     --FUCKIN STUPID
  417.    
  418.     if (Or == Cr and Og == Cg and Ob == Cb) then
  419.         return true
  420.     end
  421.     return false
  422. end
  423.  
  424. function Check(v)
  425.     if ColorCheck(v,Legendary) and Legend then
  426.         return true
  427.     elseif ColorCheck(v,Epic) and Epi then
  428.         return true
  429.     elseif ColorCheck(v,Rare) and Rar then
  430.         return true
  431.     elseif ColorCheck(v,Uncommon) and Uncom then
  432.         return true
  433.     elseif ColorCheck(v,Common) and Comm then
  434.         return true
  435.     end
  436.     return false
  437. end
  438.  
  439. S5:Cheat("Checkbox","AutoSell",
  440. function(State)
  441.     if not State then
  442.         _G.on5 = 0
  443.     else
  444.         _G.on5 = 1
  445.         while _G.on5 == 1 do
  446.             wait()
  447.             pcall(function()
  448.                 for i,v in pairs(plr["PlayerGui"]["Pets"]["Frame"]["Frame"]["ScrollingFrame"]:GetChildren()) do
  449.                     if v:IsA("ImageButton") and game:GetService("ReplicatedStorage")["PlayerData"][plr.Name]["Pets"]:FindFirstChild(v.Name) and Check(v) then
  450.                         local PetEvent = game:GetService("ReplicatedStorage").Remotes.PetEvent
  451.                         PetEvent:FireServer(
  452.                             "DeletePet",
  453.                             game:GetService("ReplicatedStorage")["PlayerData"][plr.Name]["Pets"][v.Name]
  454.                         )
  455.                     end
  456.                 end
  457.             end)
  458.         end
  459.     end
  460. end
  461. )
  462.  
  463.  
  464.  
  465. S5:Cheat("Checkbox","AutoBuy",
  466. function(State)
  467.     if not State then
  468.         _G.on6 = 0
  469.     else
  470.         _G.on6 = 1
  471.         iiter = 0
  472.         while _G.on6 == 1 do
  473.             wait()
  474.             pcall(function()
  475.                 local OpenEgg = game:GetService("ReplicatedStorage").Remotes.OpenEgg
  476.                 OpenEgg:InvokeServer(
  477.                     Egg,
  478.                     5
  479.                 )
  480.                 wait(.05)
  481.                 if iiter == 10 then
  482.                     local PetRequest = game:GetService("ReplicatedStorage").Remotes.PetRequest
  483.                     PetRequest:InvokeServer(
  484.                         "EvolveAll"
  485.                     )
  486.                     iiter = 0
  487.                 end
  488.                 iiter = iiter + 1
  489.             end)
  490.         end
  491.     end
  492. end
  493. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement