· 6 years ago · Dec 14, 2019, 01:46 AM
1--]]
2
3-- Farewell Infortality.
4-- Version: 2.82
5-- Instances:
6local SwordBurst2_GUI = Instance.new("ScreenGui")
7local OpenFrame = Instance.new("Frame")
8local Open = Instance.new("TextButton")
9local MainFrame = Instance.new("Frame")
10local SimpleA = Instance.new("Frame")
11local NameOfGui = Instance.new("TextLabel")
12local SimpleB = Instance.new("Frame")
13local CreditOfGui = Instance.new("TextLabel")
14local SimpleC = Instance.new("Frame")
15local Notice = Instance.new("TextLabel")
16local Activate_Noclip = Instance.new("TextButton")
17local AutoFarming_Wad = Instance.new("TextButton")
18local AutoFarming_WOad = Instance.new("TextButton")
19local Close = Instance.new("TextButton")
20local Noclip_OFF = Instance.new("TextButton")
21--Properties:
22SwordBurst2_GUI.Name = "SwordBurst2_GUI"
23SwordBurst2_GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
24
25OpenFrame.Name = "OpenFrame"
26OpenFrame.Parent = SwordBurst2_GUI
27OpenFrame.Active = true
28OpenFrame.BackgroundColor3 = Color3.new(0, 0, 0)
29OpenFrame.Position = UDim2.new(-0.00485044485, 0, 0.694079041, 0)
30OpenFrame.Size = UDim2.new(0, 102, 0, 35)
31
32Open.Name = "Open"
33Open.Parent = SwordBurst2_GUI
34Open.BackgroundColor3 = Color3.new(0, 0, 0)
35Open.BorderSizePixel = 0
36Open.Position = UDim2.new(-0.000808395096, 0, 0.694079041, 0)
37Open.Size = UDim2.new(0, 96, 0, 34)
38Open.Font = Enum.Font.Fantasy
39Open.Text = "Open"
40Open.TextColor3 = Color3.new(0.666667, 1, 0)
41Open.TextSize = 18
42Open.MouseButton1Down:connect(function()
43MainFrame.Visible = true
44OpenFrame.Visible = false
45end)
46
47MainFrame.Name = "MainFrame"
48MainFrame.Parent = SwordBurst2_GUI
49MainFrame.Active = true
50MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
51MainFrame.BackgroundTransparency = 0.20000000298023
52MainFrame.BorderSizePixel = 0
53MainFrame.Position = UDim2.new(0.297493935, 0, 0.233552635, 0)
54MainFrame.Size = UDim2.new(0, 500, 0, 323)
55MainFrame.Visible = false
56MainFrame.Draggable = true
57SimpleA.Name = "SimpleA"
58SimpleA.Parent = MainFrame
59SimpleA.BackgroundColor3 = Color3.new(1, 0, 0)
60SimpleA.BorderColor3 = Color3.new(1, 0, 0)
61SimpleA.BorderSizePixel = 0
62SimpleA.Position = UDim2.new(-0.000506042503, 0, 0, 0)
63SimpleA.Size = UDim2.new(0, 500, 0, 22)
64
65NameOfGui.Name = "NameOfGui"
66NameOfGui.Parent = SimpleA
67NameOfGui.BackgroundColor3 = Color3.new(1, 0, 0)
68NameOfGui.BorderSizePixel = 0
69NameOfGui.Position = UDim2.new(0.300000012, 0, 0, 0)
70NameOfGui.Size = UDim2.new(0, 200, 0, 22)
71NameOfGui.Font = Enum.Font.Fantasy
72NameOfGui.Text = "Sword Burst 2 (SB2)"
73NameOfGui.TextColor3 = Color3.new(1, 1, 1)
74NameOfGui.TextSize = 25
75
76SimpleB.Name = "SimpleB"
77SimpleB.Parent = MainFrame
78SimpleB.BackgroundColor3 = Color3.new(1, 0, 0)
79SimpleB.BorderColor3 = Color3.new(1, 0, 0)
80SimpleB.BorderSizePixel = 0
81SimpleB.Position = UDim2.new(-0.000506042503, 0, 0.931888521, 0)
82SimpleB.Size = UDim2.new(0, 500, 0, 22)
83
84CreditOfGui.Name = "CreditOfGui"
85CreditOfGui.Parent = SimpleB
86CreditOfGui.BackgroundColor3 = Color3.new(1, 0, 0)
87CreditOfGui.BorderSizePixel = 0
88CreditOfGui.Position = UDim2.new(0.000506103504, 0, 0, 0)
89CreditOfGui.Size = UDim2.new(0, 493, 0, 22)
90CreditOfGui.Font = Enum.Font.Fantasy
91CreditOfGui.Text = "UI by: OGDxK | Script By: Methode, Edited By: ZombieRushFan"
92CreditOfGui.TextColor3 = Color3.new(1, 1, 1)
93CreditOfGui.TextSize = 18
94
95SimpleC.Name = "SimpleC"
96SimpleC.Parent = MainFrame
97SimpleC.BackgroundColor3 = Color3.new(1, 0, 0)
98SimpleC.BorderColor3 = Color3.new(1, 0, 0)
99SimpleC.BorderSizePixel = 0
100SimpleC.Position = UDim2.new(-0.000506042503, 0, 0.770897806, 0)
101SimpleC.Size = UDim2.new(0, 500, 0, 22)
102
103Notice.Name = "Notice"
104Notice.Parent = SimpleC
105Notice.BackgroundColor3 = Color3.new(1, 0, 0)
106Notice.BorderSizePixel = 0
107Notice.Position = UDim2.new(0.000506103504, 0, 0, 0)
108Notice.Size = UDim2.new(0, 499, 0, 22)
109Notice.Font = Enum.Font.Fantasy
110Notice.Text = "Notice: Be sure to edit Script to the monsters you want to kill."
111Notice.TextColor3 = Color3.new(1, 1, 1)
112Notice.TextSize = 16
113
114Activate_Noclip.Name = "Activate_Noclip"
115Activate_Noclip.Parent = MainFrame
116Activate_Noclip.BackgroundColor3 = Color3.new(1, 0.0666667, 0)
117Activate_Noclip.Position = UDim2.new(0.284670949, 0, 0.44475624, 0)
118Activate_Noclip.Size = UDim2.new(0, 211, 0, 34)
119Activate_Noclip.Font = Enum.Font.Gotham
120Activate_Noclip.Text = "Enable_Noclip"
121Activate_Noclip.TextColor3 = Color3.new(1, 1, 1)
122Activate_Noclip.TextSize = 11
123Activate_Noclip.MouseButton1Down:connect(function()
124noclip = false
125game:GetService('RunService').Stepped:connect(function()
126if noclip then
127game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
128end
129end)
130plr = game.Players.LocalPlayer
131mouse = plr:GetMouse()
132mouse.KeyDown:connect(function(key)
133
134if key == "1" then
135noclip = not noclip
136game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
137end
138end)
139print('Loaded')
140print('Press "1" to noclip')
141end)
142
143AutoFarming_Wad.Name = "AutoFarming_W/ad"
144AutoFarming_Wad.Parent = MainFrame
145AutoFarming_Wad.BackgroundColor3 = Color3.new(1, 0.0666667, 0)
146AutoFarming_Wad.BorderSizePixel = 0
147AutoFarming_Wad.Position = UDim2.new(0.285274804, 0, 0.150638551, 0)
148AutoFarming_Wad.Size = UDim2.new(0, 211, 0, 34)
149AutoFarming_Wad.Font = Enum.Font.Gotham
150AutoFarming_Wad.Text = "AutoFarming with AutoDismantle"
151AutoFarming_Wad.TextColor3 = Color3.new(1, 1, 1)
152AutoFarming_Wad.TextSize = 11
153AutoFarming_Wad.MouseButton1Down:connect(function()
154--Anti Afk -- not Mine
155local vu = game:GetService("VirtualUser")
156game:GetService("Players").LocalPlayer.Idled:connect(function()
157 vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
158 wait(1)
159 vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
160end)
161
162_G.farm= true
163
164local Rawr = {}
165local Api = {}
166local Log = {}
167
168local function Service(name)
169 return game:GetService(name)
170end
171
172function Log:Init()
173 local Profile = game:GetService("ReplicatedStorage").Profiles[Api.GetPlayer().Name]
174 local Vel = Profile.Stats.Vel
175 local LastVel = Vel.Value
176 Log.Earned = {
177 Vel = 0,
178 Items = {},
179 }
180 Profile.Inventory.ChildAdded:Connect(function(item)
181 table.insert(Log.Earned.Items, item.Name)
182 if(Api.GetSetting("auto_dismantle") == true)then
183 Api.Dismantle(item.Name)
184 end
185 end)
186 Vel.Changed:Connect(function()
187 local earn = Vel.Value - LastVel
188 LastVel = Vel.Value
189 Log.Earned.Vel = Log.Earned.Vel + earn
190 end)
191end
192
193function Rawr:Check(...) --secret sauce
194 local player = Api.GetPlayer()
195 local character = Api.GetCharacter()
196 local args = {...}
197
198 if(character and character.PrimaryPart and args[1]:lower()=="cframe")then
199 --player.Character = Api.FakeCharacter
200 player.Character.RobloxLocked = true
201 wait(Api.GetSetting("rawr_bypass_speed"))
202 character:SetPrimaryPartCFrame(args[2])
203 wait(Api.GetSetting("rawr_bypass_speed"))
204 --player.Character = character
205 player.Character.RobloxLocked = false
206 end
207end
208
209function Api.GetPlayer()
210 return game:GetService("Players").LocalPlayer
211end
212
213function Api.Dismantle(name)
214 game.ReplicatedStorage.Event:FireServer("Equipment", {
215 "Dismantle",
216 game:GetService("ReplicatedStorage").Profiles[Api.GetPlayer().Name].Inventory[name]
217 })
218end
219
220function Api.Replicate(object)
221 local Model = Instance.new("Model")
222 Model.Name = object.Name
223 for index, child in pairs(object:GetChildren()) do
224 local c = child:Clone()
225 c.Parent = Model
226 end
227 if(object.PrimaryPart)then
228 Model.PrimaryPart = Model[object.PrimaryPart.Name]
229 end
230 return Model
231end
232
233function Api.GetCharacter()
234 return Api.Character or Api.GetPlayer().Character
235end
236
237function Api.GetEntity(model)
238 return model:FindFirstChild("Entity")
239end
240
241function Api.Settings(...)
242 Api.Settings = {}
243 for name, value in pairs(...) do
244 Api.Settings[name] = value
245 end
246end
247
248function Api.GetSetting(name)
249 return Api.Settings[name]
250end
251
252function Api.IsValid(model)
253 if(model.PrimaryPart and model:FindFirstChild("Entity") and model.Entity:FindFirstChild("Health") and model.Parent~=nil and model:FindFirstChild("Nameplate"))then
254 return true
255 end
256end
257
258function Api.GetPlayerDistances(model)
259 local localPlayer = Api.GetPlayer()
260 local distances = {}
261 for index, player in pairs(Service("Players"):GetChildren()) do
262 if(player~=localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and model:FindFirstChild("HumanoidRootPart"))then
263 distances[player.Name] = (model.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).magnitude
264 end
265 end
266 return distances
267end
268
269function Api.CheckNear(monster)
270 if(Api.GetSetting("avoid_players_nearby")["Enabled"] == true)then
271 local max_distance = Api.GetSetting("avoid_players_nearby")["Distance"]
272 local distances = Api.GetPlayerDistances(monster)
273 for player, distance in pairs(distances)do
274 if(distance <= max_distance)then
275 return false
276 end
277 end
278 end
279 return true
280end
281
282function Api.CheckBlacklist(monster)
283 for index, blacklist in pairs(Api.Blacklist) do
284 if(monster == blacklist)then
285 return false
286 end
287 end
288 return true
289end
290
291function Api.GetMonsters()
292 local targets = {}
293 for index, monster in pairs(Service("Workspace").Mobs:GetChildren()) do
294 local entity = monster:FindFirstChildOfClass("Folder")
295 local filterApplied = false
296 --local distanceCheck = Api.CheckNear(monster)
297 if(monster.PrimaryPart and Api.IsValid(monster) and Api.CheckBlacklist(monster))then
298 if(Api.GetSetting("monster_filter")["Enabled"] == true)then
299 if(entity.Health.Value >= Api.GetSetting("monster_filter")["max_monster_health"] and entity.Exp.Value >= Api.GetSetting("monster_filter")["min_exp_earned"])then
300 table.insert(targets, monster)
301 end
302 filterApplied = true
303 elseif(Api.GetSetting("target_specific_enemy").Enabled == true)then
304 if(Api.GetSetting("target_specific_enemy").Names[monster.Nameplate.SurfaceGui.TextLabel.Text] == true)then
305 table.insert(targets, monster)
306 end
307 filterApplied = true
308 end
309 if(filterApplied == false)then
310 table.insert(targets, monster)
311 end
312 end
313 end
314 return targets
315end
316
317function Api:Connect()
318 local player = Api.GetPlayer()
319 local character = Api.GetCharacter()
320 local setupCharacter = function(character)
321 Api.FakeCharacter = Api.Replicate(character)
322 end
323
324 setupCharacter(character)
325 player.CharacterAdded:Connect(setupCharacter)
326end
327
328hu = game.Players.LocalPlayer.Character.Humanoid
329local l = Instance.new("Humanoid")
330l.Parent = game.Players.LocalPlayer.Character
331l.RigType = "R15"
332l.Name = "Humanoid"
333wait(0.1)
334hu.Parent = game.Players.LocalPlayer
335game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
336game.Players.LocalPlayer.Character.Animate.Disabled = true
337wait(0.1)
338game.Players.LocalPlayer.Character.Animate.Disabled = false
339wait(0.5)
340--not Mine, by Mortalkombatman2, modified by ZombieRushFan
341function Api.BigHitbox()
342 for i,v in pairs(game.Workspace.Mobs:children()) do
343 if v:FindFirstChild("HumanoidRootPart") then
344 local bodyforce = Instance.new("BodyForce")
345 bodyforce.Parent = v.HumanoidRootPart
346 v.HumanoidRootPart.Size = Vector3.new(Api.GetSetting("hbx"), Api.GetSetting("hby"), Api.GetSetting("hbz"))
347 v.HumanoidRootPart.CanCollide = false
348 v.HumanoidRootPart.BodyForce.force = Vector3.new(0, game.workspace.Gravity, 0) * v.HumanoidRootPart:GetMass()
349 end
350 end
351end
352
353function Api:SetKeys()
354 game:GetService("UserInputService").InputBegan:connect(function(Key)
355 if(Key.KeyCode == Api.GetSetting("stop_key"))then
356 Api.Enabled = false
357 elseif(Key.KeyCode == Api.GetSetting("pause_key"))then
358 Api.Paused = true
359 elseif(Key.KeyCode == Api.GetSetting("unpause_key"))then
360 Api.Paused = false
361 end
362 end)
363end
364--[[
365CREATED BY Methode @v3rmillion
366MODIFIED BY ZombieRushFan @v3rmillion || Styler12#2196 || Sealtiel Dy @FB
367]]
368function Api:Init()
369 Api.Blacklist = {}
370 Api.Start = tick()
371 Api.Paused = false
372 Api.CanClick = false
373 Api.Enabled = true
374 local cooldowncounter = 0
375 while wait() and Api.Enabled and _G.farm == true do
376 if(Api.Paused == false)then
377 --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(116, 960, 23865)) --F10 Boss
378 --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(12400, 540, -3380)) --F9 Boss
379 for index, monster in pairs(Api.GetMonsters()) do
380 if(Api.IsValid(monster) and Api.Enabled and _G.farm==true)then -- recheck
381 local entity = Api.GetEntity(monster)
382 local base = entity.Health.Value
383 entity.Health.Changed:Connect(function()
384 if(entity.Health.Value == base)then
385 dontBreak = false
386 end
387 end)
388 Api.BigHitbox()
389 dontBreak = true
390 local timer = 0
391 while dontBreak and Api.Enabled do
392 if(Api.Paused == false)then
393 local thisTime = wait()
394 wait(thisTime)
395 timer = timer + thisTime
396 if(timer >= Api.GetSetting("timeout")["time"])then
397 warn('Timeout exceeded!')
398 if(Api.GetSetting("timeout")["blacklist_monster_after_timeout"] == true)then
399 table.insert(Api.Blacklist, monster)
400 end
401 break
402 end
403 if(Api.IsValid(monster) and entity.Health.Value > 0 and _G.farm == true)then
404 local character = Api.GetCharacter()
405 if(character)then
406 character:SetPrimaryPartCFrame(monster:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(Api.GetSetting("rocX")),math.rad(Api.GetSetting("rocY")),math.rad(Api.GetSetting("rocZ"))) * CFrame.new(Api.GetSetting("dfmX"), Api.GetSetting("dfmY"), Api.GetSetting("dfmZ")))
407 end
408 else
409 Api.CanClick = true
410 break
411 end
412 end
413 end
414 end
415 end
416 end
417 end
418end
419
420Api.Settings({
421 ["start_delay"] = 1,
422 ["stop_key"] = Enum.KeyCode.Escape,
423 ["pause_key"] = Enum.KeyCode.RightAlt,
424 ["unpause_key"] = Enum.KeyCode.RightControl,
425 ["rawr_bypass_speed"] = 0.0, -- 0.1
426 ["swap_monster_speed"] = 0.0, -- 0.05,
427 ["click_break_speed"] = 0.01,
428 ["auto_dismantle"] = true,
429 ["hbx"] = 15, -- size of hitbox X-Axis
430 ["hby"] = 35, -- size of hitbox Y-Axis
431 ["hbz"] = 15, -- size of hitbox Z-Axis
432 ["rocX"] = 0, -- rotation of character based on X-Axis
433 ["rocY"] = 0, -- rotation of character based on Y-Axis
434 ["rocZ"] = 0, -- rotation of character based on Z-Axis
435 ["dfmX"] = 0, -- distance from the mob in X-Axis based on rotation
436 ["dfmY"] = -15, -- distance from the mob in Y-Axis based on rotation
437 ["dfmZ"] = 0, -- distance from the mob in Z-Axis based on rotation
438 ["timeout"] = {
439 ["time"] = 45,
440 ["blacklist_monster_after_timeout"] = false
441 },
442 ["monster_filter"] = {
443 ["Enabled"] = false,
444 ["max_monster_health"] = 0,
445 ["min_exp_earned"] = 1,
446 },
447 ["avoid_players_nearby"] = {
448 ["Enabled"] = false,
449 ["Distance"] = 200
450 },
451 ["target_specific_enemy"] = {
452 ["Enabled"] = true,
453 ["Names"] = {
454 ["Grim the Overseer"] = false,
455 ["Baal"] = false,
456 ["Shady Villager"] = false,
457 ["Winged Minion"] = false,
458 ["Wendigo"] = false,
459 ["Clay Giant"] = false,
460 ["Undead Warrior"] = false,
461 ["Gargoyle Reaper"] = false,
462 ["Mortis the Flaming Sear"] = false,
463 ["Polyserpant"] = false,
464 ["Ent"] = false,
465 ["Patrolman Elite"] = false,
466 ["Centaurian Defender"] = false,
467 ["Sa'jun the Centurian Chieftain"] = false,
468 ["Fire Scorpion"] = false,
469 ["Formaug the Jungle Giant"] = false,
470 ["Hippogriff"] = false,
471 ["Wingless Hippogriff"] = false,
472 ["Petal Knight"] = false,
473 ["Dungeon Crusador"] = false,
474 ["Sky Raven"] = false,
475 ["Reptasaurus"] = true,
476 ["Polyserpant"] = true,
477 ["Gargoyle Reaper"] = true
478 }
479 }
480})
481
482Api:SetKeys()
483Api:Connect()
484Log:Init()
485Api:Init()
486end)
487
488AutoFarming_WOad.Name = "AutoFarming_WO/ad"
489AutoFarming_WOad.Parent = MainFrame
490AutoFarming_WOad.BackgroundColor3 = Color3.new(1, 0.0666667, 0)
491AutoFarming_WOad.BorderSizePixel = 0
492AutoFarming_WOad.Position = UDim2.new(0.285274804, 0, 0.29798761, 0)
493AutoFarming_WOad.Size = UDim2.new(0, 211, 0, 34)
494AutoFarming_WOad.Font = Enum.Font.Gotham
495AutoFarming_WOad.Text = "AutoFarming without AutoDismantle"
496AutoFarming_WOad.TextColor3 = Color3.new(1, 1, 1)
497AutoFarming_WOad.TextSize = 11
498AutoFarming_WOad.MouseButton1Down:connect(function()
499--Anti Afk -- not Mine
500local vu = game:GetService("VirtualUser")
501game:GetService("Players").LocalPlayer.Idled:connect(function()
502 vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
503 wait(1)
504 vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
505end)
506
507_G.farm = true
508
509local Rawr = {}
510local Api = {}
511local Log = {}
512
513local function Service(name)
514 return game:GetService(name)
515end
516
517function Rawr:Check(...) --secret sauce
518 local player = Api.GetPlayer()
519 local character = Api.GetCharacter()
520 local args = {...}
521
522 if(character and character.PrimaryPart and args[1]:lower()=="cframe")then
523 --player.Character = Api.FakeCharacter
524 player.Character.RobloxLocked = true
525 wait(Api.GetSetting("rawr_bypass_speed"))
526 character:SetPrimaryPartCFrame(args[2])
527 wait(Api.GetSetting("rawr_bypass_speed"))
528 --player.Character = character
529 player.Character.RobloxLocked = false
530 end
531end
532
533function Api.GetPlayer()
534 return game:GetService("Players").LocalPlayer
535end
536
537function Api.Replicate(object)
538 local Model = Instance.new("Model")
539 Model.Name = object.Name
540 for index, child in pairs(object:GetChildren()) do
541 local c = child:Clone()
542 c.Parent = Model
543 end
544 if(object.PrimaryPart)then
545 Model.PrimaryPart = Model[object.PrimaryPart.Name]
546 end
547 return Model
548end
549
550function Api.GetCharacter()
551 return Api.Character or Api.GetPlayer().Character
552end
553
554function Api.GetEntity(model)
555 return model:FindFirstChild("Entity")
556end
557
558function Api.Settings(...)
559 Api.Settings = {}
560 for name, value in pairs(...) do
561 Api.Settings[name] = value
562 end
563end
564
565function Api.GetSetting(name)
566 return Api.Settings[name]
567end
568
569function Api.IsValid(model)
570 if(model.PrimaryPart and model:FindFirstChild("Entity") and model.Entity:FindFirstChild("Health") and model.Parent~=nil and model:FindFirstChild("Nameplate"))then
571 return true
572 end
573end
574
575function Api.GetPlayerDistances(model)
576 local localPlayer = Api.GetPlayer()
577 local distances = {}
578 for index, player in pairs(Service("Players"):GetChildren()) do
579 if(player~=localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and model:FindFirstChild("HumanoidRootPart"))then
580 distances[player.Name] = (model.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).magnitude
581 end
582 end
583 return distances
584end
585
586function Api.CheckNear(monster)
587 if(Api.GetSetting("avoid_players_nearby")["Enabled"] == true)then
588 local max_distance = Api.GetSetting("avoid_players_nearby")["Distance"]
589 local distances = Api.GetPlayerDistances(monster)
590 for player, distance in pairs(distances)do
591 if(distance <= max_distance)then
592 return false
593 end
594 end
595 end
596 return true
597end
598
599function Api.CheckBlacklist(monster)
600 for index, blacklist in pairs(Api.Blacklist) do
601 if(monster == blacklist)then
602 return false
603 end
604 end
605 return true
606end
607
608function Api.GetMonsters()
609 local targets = {}
610 for index, monster in pairs(Service("Workspace").Mobs:GetChildren()) do
611 local entity = monster:FindFirstChildOfClass("Folder")
612 local filterApplied = false
613 --local distanceCheck = Api.CheckNear(monster)
614 if(monster.PrimaryPart and Api.IsValid(monster) and Api.CheckBlacklist(monster))then
615 if(Api.GetSetting("monster_filter")["Enabled"] == true)then
616 if(entity.Health.Value >= Api.GetSetting("monster_filter")["max_monster_health"] and entity.Exp.Value >= Api.GetSetting("monster_filter")["min_exp_earned"])then
617 table.insert(targets, monster)
618 end
619 filterApplied = true
620 elseif(Api.GetSetting("target_specific_enemy").Enabled == true)then
621 if(Api.GetSetting("target_specific_enemy").Names[monster.Nameplate.SurfaceGui.TextLabel.Text] == true)then
622 table.insert(targets, monster)
623 end
624 filterApplied = true
625 end
626 if(filterApplied == false)then
627 table.insert(targets, monster)
628 end
629 end
630 end
631 return targets
632end
633
634function Api:Connect()
635 local player = Api.GetPlayer()
636 local character = Api.GetCharacter()
637 local setupCharacter = function(character)
638 Api.FakeCharacter = Api.Replicate(character)
639end
640
641setupCharacter(character)
642player.CharacterAdded:Connect(setupCharacter)
643end
644
645hu = game.Players.LocalPlayer.Character.Humanoid
646local l = Instance.new("Humanoid")
647l.Parent = game.Players.LocalPlayer.Character
648l.RigType = "R15"
649l.Name = "Humanoid"
650wait(0.1)
651hu.Parent = game.Players.LocalPlayer
652game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
653game.Players.LocalPlayer.Character.Animate.Disabled = true
654wait(0.1)
655game.Players.LocalPlayer.Character.Animate.Disabled = false
656wait(0.5)
657--not Mine, by Mortalkombatman2, modified by ZombieRushFan
658function Api.BigHitbox()
659for i,v in pairs(game.Workspace.Mobs:children()) do
660 if v:FindFirstChild("HumanoidRootPart") then
661 local bodyforce = Instance.new("BodyForce")
662 bodyforce.Parent = v.HumanoidRootPart
663 v.HumanoidRootPart.Size = Vector3.new(Api.GetSetting("hbx"), Api.GetSetting("hby"), Api.GetSetting("hbz"))
664 v.HumanoidRootPart.CanCollide = false
665 v.HumanoidRootPart.BodyForce.force = Vector3.new(0, game.workspace.Gravity, 0) * v.HumanoidRootPart:GetMass()
666 end
667end
668end
669
670function Api:SetKeys()
671game:GetService("UserInputService").InputBegan:connect(function(Key)
672if(Key.KeyCode == Api.GetSetting("stop_key"))then
673 Api.Enabled = false
674elseif(Key.KeyCode == Api.GetSetting("pause_key"))then
675 Api.Paused = true
676elseif(Key.KeyCode == Api.GetSetting("unpause_key"))then
677 Api.Paused = false
678end
679end)
680end
681--[[
682CREATED BY Methode @v3rmillion
683MODIFIED BY ZombieRushFan @v3rmillion || Styler12#2196 || Sealtiel Dy @FB
684]]
685function Api:Init()
686Api.Blacklist = {}
687Api.Start = tick()
688Api.Paused = false
689Api.CanClick = false
690Api.Enabled = true
691wait(Api.GetSetting("StartDelay"))
692spawn(function()
693while wait(Api.GetSetting("click_break_speed")) and Api.Enabled do
694 if(Api.Paused == false and Api.CanClick == true)then
695 if(mouse1click)then
696 mouse1click()
697 end
698 else
699 wait()
700 end
701end
702end)
703while wait() and Api.Enabled and _G.farm == true do
704 if(Api.Paused == false)then
705 --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(116, 900, 23865)) --F10 Boss
706 --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(12400, 540, -3380)) --F9 Boss
707 --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-3650, 2850, -7700)) --F9 Mini Boss
708 for index, monster in pairs(Api.GetMonsters()) do
709 if(Api.IsValid(monster) and Api.Enabled and _G.farm==true)then -- recheck
710 Rawr:Check("CFrame", monster:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(Api.GetSetting("rocX")),math.rad(Api.GetSetting("rocY")),math.rad(Api.GetSetting("rocZ"))) * CFrame.new(Api.GetSetting("dfmX"), Api.GetSetting("dfmY"), Api.GetSetting("dfmZ"))) -- bypass
711 wait(Api.GetSetting("swap_monster_speed"))
712 local entity = Api.GetEntity(monster)
713 local base = entity.Health.Value
714 entity.Health.Changed:Connect(function()
715 if(entity.Health.Value == base)then
716 dontBreak = false
717 end
718 end)
719 Api.BigHitbox()
720 dontBreak = true
721 local timer = 0
722 while dontBreak and Api.Enabled do
723 if(Api.Paused == false)then
724 local thisTime = wait()
725 wait(thisTime)
726 timer = timer + thisTime
727 if(timer >= Api.GetSetting("timeout")["time"])then
728 warn('Timeout exceeded!')
729 if(Api.GetSetting("timeout")["blacklist_monster_after_timeout"] == true)then
730 table.insert(Api.Blacklist, monster)
731 end
732 break
733 end
734 if(Api.IsValid(monster) and entity.Health.Value > 0 and _G.farm == true)then
735 local character = Api.GetCharacter()
736 if(character)then
737 Api.CanClick = false -- true
738 character:SetPrimaryPartCFrame(monster:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(Api.GetSetting("rocX")),math.rad(Api.GetSetting("rocY")),math.rad(Api.GetSetting("rocZ"))) * CFrame.new(Api.GetSetting("dfmX"), Api.GetSetting("dfmY"), Api.GetSetting("dfmZ")))
739 else
740 character = Api.GetCharacter()
741 if(character)then
742 Rawr:Check("CFrame", monster:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(Api.GetSetting("rocX")),math.rad(Api.GetSetting("rocY")),math.rad(Api.GetSetting("rocZ"))) * CFrame.new(Api.GetSetting("dfmX"), Api.GetSetting("dfmY"), Api.GetSetting("dfmZ"))) -- bypass
743 wait(Api.GetSetting("swap_monster_speed"))
744 end
745 end
746 else
747 Api.CanClick = false
748 break
749 end
750 else
751 wait()
752 end
753 end
754 wait(Api.GetSetting("swap_monster_speed"))
755 end
756 end
757 end
758end
759end
760
761Api.Settings({
762["start_delay"] = 1,
763["stop_key"] = Enum.KeyCode.Escape,
764["pause_key"] = Enum.KeyCode.LeftControl,
765["unpause_key"] = Enum.KeyCode.RightControl,
766["rawr_bypass_speed"] = 0.1, -- 0.1
767["swap_monster_speed"] = 0, -- 0.05,
768["click_break_speed"] = 0.01,
769["hbx"] = 9, -- size of hitbox X-Axis
770["hby"] = 45, -- size of hitbox Y-Axis
771["hbz"] = 9, -- size of hitbox Z-Axis
772["rocX"] = 0, -- rotation of character based on X-Axis
773["rocY"] = 0, -- rotation of character based on Y-Axis
774["rocZ"] = 0, -- rotation of character based on Z-Axis
775["dfmX"] = 0, -- distance from the mob in X-Axis based on rotation
776["dfmY"] = -17, -- distance from the mob in Y-Axis based on rotation
777["dfmZ"] = 0, -- distance from the mob in Z-Axis based on rotation
778["timeout"] = {
779 ["time"] = 45,
780 ["blacklist_monster_after_timeout"] = false
781},
782["monster_filter"] = {
783 ["Enabled"] = false,
784 ["max_monster_health"] = 0,
785 ["min_exp_earned"] = 1,
786},
787["avoid_players_nearby"] = {
788 ["Enabled"] = false,
789 ["Distance"] = 200
790},
791["target_specific_enemy"] = {
792 ["Enabled"] = false,
793 ["Names"] = {
794 --just follow the format to add new mobs
795 ["Grim the Overseer"] = true,
796 ["Baal"] = true,
797 ["Shady Villager"] = false,
798 ["Winged Minion"] = false,
799 ["Wendigo"] = false,
800 ["Undead Warrior"] = false,
801 ["Gargoyle Reaper"] = true,
802 ["Mortis the Flaming Sear"] = true,
803 ["Polyserpant"] = false,
804 ["Ent"] = false,
805 ["Patrolman Elite"] = true,
806 ["Rotling"] = true,
807 ["Sa'jun the Centurian Chieftain"] = false,
808 ["Fire Scorpion"] = false,
809 ["Dungeon Dweller"] = true,
810 ["Bamboo Spider"] = true,
811 ["Boneling"] = true,
812 ["Treeray"] = true,
813 ["Birchman"] = true,
814 }
815}
816})
817
818Api:SetKeys()
819Api:Connect()
820Api:Init()
821end)
822
823Close.Name = "Close"
824Close.Parent = MainFrame
825Close.Active = false
826Close.BackgroundColor3 = Color3.new(1, 1, 1)
827Close.BackgroundTransparency = 10
828Close.Position = UDim2.new(0.908426881, 0, 0.00135448575, 0)
829Close.Size = UDim2.new(0, 55, 0, 22)
830Close.Font = Enum.Font.Fantasy
831Close.Text = "X"
832Close.TextColor3 = Color3.new(1, 1, 1)
833Close.TextSize = 20
834Close.MouseButton1Down:connect(function()
835Open.Visible = true
836MainFrame.Visible = false
837end)