Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- PlayerName = tostring(game.Players.LocalPlayer.Name)
- local ScreenGui = Instance.new("ScreenGui")
- local ef2 = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local AS = Instance.new("TextButton")
- local AF2 = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local AF1 = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local sf1 = Instance.new("ScrollingFrame")
- local F1 = Instance.new("TextButton")
- local F2 = Instance.new("TextButton")
- local F4 = Instance.new("TextButton")
- local F5 = Instance.new("TextButton")
- local F6 = Instance.new("TextButton")
- local F3 = Instance.new("TextButton")
- local Open = Instance.new("Frame")
- local Open_2 = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.CoreGui
- ef2.Name = "ef2"
- ef2.Parent = ScreenGui
- ef2.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- ef2.BackgroundTransparency = 0.30000001192093
- ef2.BorderColor3 = Color3.new(1, 1, 1)
- ef2.Position = UDim2.new(0.153213754, 0, 0.235872239, 0)
- ef2.Size = UDim2.new(0, 478, 0, 246)
- TextLabel.Parent = ef2
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderColor3 = Color3.new(0.172549, 0.27451, 0.368627)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.501241386, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 238, 0, 33)
- TextLabel.Font = Enum.Font.Code
- TextLabel.Text = "Boss Teleport"
- TextLabel.TextColor3 = Color3.new(0.992157, 1, 0.494118)
- TextLabel.TextSize = 20
- TextLabel.TextWrapped = true
- TextLabel_2.Parent = ef2
- TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel_2.BackgroundTransparency = 0.40000000596046
- TextLabel_2.BorderColor3 = Color3.new(0.172549, 0.27451, 0.368627)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.000634229335, 0, 0, 0)
- TextLabel_2.Size = UDim2.new(0, 240, 0, 32)
- TextLabel_2.Font = Enum.Font.Code
- TextLabel_2.Text = "SAOB 2 Gui"
- TextLabel_2.TextColor3 = Color3.new(0.47451, 0.745098, 1)
- TextLabel_2.TextSize = 20
- AS.Name = "AS"
- AS.Parent = ef2
- AS.BackgroundColor3 = Color3.new(0, 0, 0)
- AS.BackgroundTransparency = 0.40000000596046
- AS.BorderSizePixel = 0
- AS.Position = UDim2.new(0.000634229335, 0, 0.536886454, 0)
- AS.Size = UDim2.new(0, 240, 0, 50)
- AS.Font = Enum.Font.Code
- AS.Text = "AllSkill (Not Perm)"
- AS.TextColor3 = Color3.new(0.47451, 0.745098, 1)
- AS.TextSize = 18
- AS.MouseButton1Down:connect(function()
- for i,v in pairs(game.ReplicatedStorage.Database.Skills:children()) do
- if v:FindFirstChild("Class") then
- v.Class:Remove()
- end
- if v:FindFirstChild("Anytime") then
- v.Anytime:Remove()
- end
- if v:FindFirstChild("Cost") then
- v.Cost.Value = -999999999
- end
- if v:FindFirstChild("Cooldown") then
- v.Cooldown.Value = -999999999
- end
- if v:FindFirstChild("Level") then
- v.Level.Value = -999999999
- end
- end
- end)
- AF2.Name = "AF2"
- AF2.Parent = ef2
- AF2.BackgroundColor3 = Color3.new(0, 0, 0)
- AF2.BackgroundTransparency = 0.40000000596046
- AF2.BorderSizePixel = 0
- AF2.Position = UDim2.new(0.00209205016, 0, 0.335151494, 0)
- AF2.Size = UDim2.new(0, 239, 0, 49)
- AF2.Font = Enum.Font.Code
- AF2.Text = "AutoFarm2"
- AF2.TextColor3 = Color3.new(0.47451, 0.745098, 1)
- AF2.TextSize = 18
- AF2.MouseButton1Down:connect(function()
- while true do
- for i,v in pairs(game.Workspace.Mobs:children()) do -- By Mortalkombatman2
- if v:FindFirstChild("Head") then
- v.HumanoidRootPart.Transparency = 0.5
- v.HumanoidRootPart.Size = Vector3.new(30, 30, 30)
- wait(5)
- end
- end
- end
- end)
- Frame.Parent = ef2
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.000634229335, 0, 0.131899521, 0)
- Frame.Size = UDim2.new(0, 477, 0, 1)
- AF1.Name = "AF1"
- AF1.Parent = ef2
- AF1.BackgroundColor3 = Color3.new(0, 0, 0)
- AF1.BackgroundTransparency = 0.40000000596046
- AF1.BorderSizePixel = 0
- AF1.Position = UDim2.new(0.00196793699, 0, 0.135964617, 0)
- AF1.Size = UDim2.new(0, 239, 0, 49)
- AF1.Font = Enum.Font.Code
- AF1.Text = "AutoFarm1"
- AF1.TextColor3 = Color3.new(0.47451, 0.745098, 1)
- AF1.TextSize = 18
- AF1.MouseButton1Down:connect(function()
- local Rawr = {}
- local Api = {}
- local Log = {}
- local function Service(name)
- return game:GetService(name)
- end
- local function SecondsToClock(seconds)
- -- https://gist.github.com/jesseadams/791673
- local seconds = tonumber(seconds)
- if seconds <= 0 then
- return "00:00:00";
- else
- local hours = string.format("%02.f", math.floor(seconds/3600));
- local mins = string.format("%02.f", math.floor(seconds/60 - (hours*60)));
- local secs = string.format("%02.f", math.floor(seconds - hours*3600 - mins *60));
- return hours..":"..mins..":"..secs
- end
- end
- function Log:Init()
- local Profile = game:GetService("ReplicatedStorage").Profiles[Api.GetPlayer().Name]
- local Vel = Profile.Stats.Vel
- local LastVel = Vel.Value
- Log.Earned = {
- Vel = 0,
- Items = {},
- }
- Profile.Inventory.ChildAdded:Connect(function(item)
- table.insert(Log.Earned.Items, item.Name)
- if(Api.GetSetting("auto_dismantle") == true)then
- Api.Dismantle(item.Name)
- end
- end)
- Vel.Changed:Connect(function()
- local earn = Vel.Value - LastVel
- LastVel = Vel.Value
- Log.Earned.Vel = Log.Earned.Vel + earn
- end)
- end
- function Log.Save()
- Log.Earned.RunTime = SecondsToClock(tick()-Api.Start)
- Synapse:WriteFile(tick() .. "_log.dat", game:GetService("HttpService"):JSONEncode(Log.Earned))
- end
- function Rawr:Check(...) --secret sauce
- local player = Api.GetPlayer()
- local character = Api.GetCharacter()
- local args = {...}
- if(character and character.PrimaryPart and args[1]:lower()=="cframe")then
- --player.Character = Api.FakeCharacter
- player.Character.RobloxLocked = true
- wait(Api.GetSetting("rawr_bypass_speed"))
- character:SetPrimaryPartCFrame(args[2])
- wait(Api.GetSetting("rawr_bypass_speed"))
- --player.Character = character
- player.Character.RobloxLocked = false
- end
- end
- function Api.GetPlayer()
- return game:GetService("Players").LocalPlayer
- end
- function Api.Dismantle(name)
- game.ReplicatedStorage.Event:FireServer("Equipment", {
- "Dismantle",
- game:GetService("ReplicatedStorage").Profiles[Api.GetPlayer().Name].Inventory[name]
- })
- end
- function Api.Replicate(object)
- local Model = Instance.new("Model")
- Model.Name = object.Name
- for index, child in pairs(object:GetChildren()) do
- local c = child:Clone()
- c.Parent = Model
- end
- if(object.PrimaryPart)then
- Model.PrimaryPart = Model[object.PrimaryPart.Name]
- end
- return Model
- end
- function Api.GetCharacter()
- return Api.Character or Api.GetPlayer().Character
- end
- function Api.GetEntity(model)
- return model:FindFirstChild("Entity")
- end
- function Api.Settings(...)
- Api.Settings = {}
- for name, value in pairs(...) do
- Api.Settings[name] = value
- end
- end
- function Api.GetSetting(name)
- return Api.Settings[name]
- end
- function Api.IsValid(model)
- if(model.PrimaryPart and model:FindFirstChild("Entity") and model.Entity:FindFirstChild("Health") and model.Parent~=nil and model:FindFirstChild("Nameplate"))then
- return true
- end
- end
- function Api.GetPlayerDistances(model)
- local localPlayer = Api.GetPlayer()
- local distances = {}
- for index, player in pairs(Service("Players"):GetChildren()) do
- if(player~=localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and model:FindFirstChild("HumanoidRootPart"))then
- distances[player.Name] = (model.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).magnitude
- end
- end
- return distances
- end
- function Api.CheckNear(monster)
- if(Api.GetSetting("avoid_players_nearby")["Enabled"] == true)then
- local max_distance = Api.GetSetting("avoid_players_nearby")["Distance"]
- local distances = Api.GetPlayerDistances(monster)
- for player, distance in pairs(distances)do
- if(distance <= max_distance)then
- return false
- end
- end
- end
- return true
- end
- function Api.CheckBlacklist(monster)
- for index, blacklist in pairs(Api.Blacklist) do
- if(monster == blacklist)then
- return false
- end
- end
- return true
- end
- function Api.GetMonsters()
- local targets = {}
- for index, monster in pairs(Service("Workspace").Mobs:GetChildren()) do
- local entity = monster:FindFirstChildOfClass("Folder")
- local filterApplied = false
- local distanceCheck = Api.CheckNear(monster)
- if(monster.PrimaryPart and Api.IsValid(monster) and distanceCheck and Api.CheckBlacklist(monster))then
- if(Api.GetSetting("monster_filter")["Enabled"] == true)then
- if(entity.Health.Value >= Api.GetSetting("monster_filter")["max_monster_health"] and entity.Exp.Value >= Api.GetSetting("monster_filter")["min_exp_earned"])then
- table.insert(targets, monster)
- end
- filterApplied = true
- elseif(Api.GetSetting("target_specific_enemy").Enabled == true)then
- if(Api.GetSetting("target_specific_enemy").Names[monster.Nameplate.SurfaceGui.TextLabel.Text] == true)then
- table.insert(targets, monster)
- end
- filterApplied = true
- end
- if(filterApplied == false)then
- table.insert(targets, monster)
- end
- end
- end
- return targets
- end
- function Api:Connect()
- local player = Api.GetPlayer()
- local character = Api.GetCharacter()
- local setupCharacter = function(character)
- Api.FakeCharacter = Api.Replicate(character)
- end
- setupCharacter(character)
- player.CharacterAdded:Connect(setupCharacter)
- end
- function Api:SetKeys()
- game:GetService("UserInputService").InputBegan:connect(function(Key)
- if(Key.KeyCode == Api.GetSetting("stop_key"))then
- Api.Enabled = false
- elseif(Key.KeyCode == Api.GetSetting("pause_key"))then
- Api.Paused = true
- elseif(Key.KeyCode == Api.GetSetting("unpause_key"))then
- Api.Paused = false
- end
- end)
- end
- function Api:Init()
- Api.Blacklist = {}
- Api.Start = tick()
- Api.Paused = false
- Api.CanClick = false
- Api.Enabled = true
- wait(Api.GetSetting("StartDelay"))
- spawn(function()
- while wait(Api.GetSetting("click_break_speed")) and Api.Enabled do
- if(Api.Paused == false and Api.CanClick == true)then
- if(mouse1click)then
- mouse1click()
- end
- else
- wait()
- end
- end
- end)
- while wait() and Api.Enabled do
- if(Api.Paused == false)then
- for index, monster in pairs(Api.GetMonsters()) do
- local distanceCheck = Api.CheckNear(monster)
- if(distanceCheck and Api.IsValid(monster) and Api.Enabled)then -- recheck
- Rawr:Check("CFrame", monster:GetPrimaryPartCFrame() * CFrame.new(0, 0, 3)) -- bypass
- wait(Api.GetSetting("swap_monster_speed"))
- local entity = Api.GetEntity(monster)
- local base = entity.Health.Value
- entity.Health.Changed:Connect(function()
- if(entity.Health.Value == base)then
- dontBreak = false
- end
- end)
- dontBreak = true
- local timer = 0
- while dontBreak and Api.Enabled do
- if(Api.Paused == false)then
- local thisTime = wait()
- wait(thisTime)
- timer = timer + thisTime
- if(timer >= Api.GetSetting("timeout")["time"])then
- warn('Timeout exceeded!')
- if(Api.GetSetting("timeout")["blacklist_monster_after_timeout"] == true)then
- table.insert(Api.Blacklist, monster)
- end
- break
- end
- if(Api.IsValid(monster) and entity.Health.Value > 0)then
- local character = Api.GetCharacter()
- if(character)then
- Api.CanClick = true
- character:SetPrimaryPartCFrame(monster:GetPrimaryPartCFrame() * CFrame.new(0, 0, 3))
- else
- character = Api.GetCharacter()
- if(character)then
- Rawr:Check("CFrame", monster:GetPrimaryPartCFrame() * CFrame.new(0, 0, 3)) -- bypass
- wait(Api.GetSetting("swap_monster_speed"))
- end
- end
- else
- Api.CanClick = false
- break
- end
- else
- wait()
- end
- end
- wait(Api.GetSetting("swap_monster_speed"))
- end
- end
- end
- end
- Log.Save()
- end
- Api.Settings({
- ["start_delay"] = 2,
- ["stop_key"] = Enum.KeyCode.Escape,
- ["pause_key"] = Enum.KeyCode.LeftControl,
- ["unpause_key"] = Enum.KeyCode.RightControl,
- ["rawr_bypass_speed"] = 0.5, -- 0.65
- ["swap_monster_speed"] = 0.2, -- 0.7,
- ["click_break_speed"] = .01,
- ["auto_dismantle"] = false,
- ["timeout"] = {
- ["time"] = 15,
- ["blacklist_monster_after_timeout"] = true
- },
- ["monster_filter"] = {
- ["Enabled"] = false,
- ["max_monster_health"] = 0,
- ["min_exp_earned"] = 0,
- },
- ["avoid_players_nearby"] = {
- ["Enabled"] = true,
- ["Distance"] = 200
- },
- ["target_specific_enemy"] = {
- ["Enabled"] = false,
- ["Names"] = {
- ["Giant Ruins Hornet"] = false,
- ["Enraged Lingerer"] = true,
- ["Undead Berserker"] = true,
- ["Undead Warrior"] = true,
- ["Gargoyle Reaper"] = false,
- ["Mortis the Flaming Sear"] = false,
- }
- }
- })
- Api:SetKeys()
- Api:Connect()
- Log:Init()
- Api:Init()
- end)
- Close.Name = "Close"
- Close.Parent = ef2
- Close.BackgroundColor3 = Color3.new(0, 0, 0)
- Close.BackgroundTransparency = 0.40000000596046
- Close.BorderColor3 = Color3.new(1, 1, 1)
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0.00036996603, 0, 0.740038276, 0)
- Close.Size = UDim2.new(0, 240, 0, 64)
- Close.Font = Enum.Font.Code
- Close.Text = "Close"
- Close.TextColor3 = Color3.new(0.47451, 0.745098, 1)
- Close.TextSize = 18
- Close.MouseButton1Down:connect(function()
- ef2.Visible = false
- sf1.Visible = false
- Open.Visible = true
- Open_2.Visible = true
- end)
- sf1.Name = "sf1"
- sf1.Parent = ScreenGui
- sf1.BackgroundColor3 = Color3.new(1, 1, 1)
- sf1.BackgroundTransparency = 1
- sf1.BorderColor3 = Color3.new(1, 1, 1)
- sf1.Position = UDim2.new(0.278371662, 0, 0.271683067, 0)
- sf1.Size = UDim2.new(0, 237, 0, 212)
- F1.Name = "F1"
- F1.Parent = sf1
- F1.BackgroundColor3 = Color3.new(0, 0, 0)
- F1.BackgroundTransparency = 1
- F1.BorderSizePixel = 0
- F1.Position = UDim2.new(-0.0151451491, 0, 0.000136234041, 0)
- F1.Size = UDim2.new(0, 237, 0, 50)
- F1.Font = Enum.Font.Code
- F1.Text = "Floor 1"
- F1.TextColor3 = Color3.new(0.992157, 1, 0.494118)
- F1.TextSize = 18
- F1.MouseButton1Down:connect(function()
- game.Workspace[PlayerName].HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-3059.16, -225, 1126.32))
- end)
- F2.Name = "F2"
- F2.Parent = sf1
- F2.BackgroundColor3 = Color3.new(0, 0, 0)
- F2.BackgroundTransparency = 1
- F2.BorderSizePixel = 0
- F2.Position = UDim2.new(-0.0199549012, 0, 0.0270000007, 0)
- F2.Size = UDim2.new(0, 237, 0, 50)
- F2.Font = Enum.Font.Code
- F2.Text = "Floor 2"
- F2.TextColor3 = Color3.new(0.992157, 1, 0.494118)
- F2.TextSize = 18
- F2.MouseButton1Down:connect(function()
- game.Workspace[PlayerName].HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-2952.43, 116.3, -9375))
- end)
- F4.Name = "F4"
- F4.Parent = sf1
- F4.BackgroundColor3 = Color3.new(0, 0, 0)
- F4.BackgroundTransparency = 1
- F4.BorderSizePixel = 0
- F4.Position = UDim2.new(-0.018817015, 0, 0.0799999982, 0)
- F4.Size = UDim2.new(0, 236, 0, 49)
- F4.Font = Enum.Font.Code
- F4.Text = "Floor 4"
- F4.TextColor3 = Color3.new(0.992157, 1, 0.494118)
- F4.TextSize = 18
- F4.MouseButton1Down:connect(function()
- game.Workspace[PlayerName].HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-2380.2, 2153.35, 100))
- end)
- F5.Name = "F5"
- F5.Parent = sf1
- F5.BackgroundColor3 = Color3.new(0, 0, 0)
- F5.BackgroundTransparency = 1
- F5.BorderSizePixel = 0
- F5.Position = UDim2.new(-0.0160970427, 0, 0.105999999, 0)
- F5.Size = UDim2.new(0, 236, 0, 49)
- F5.Font = Enum.Font.Code
- F5.Text = "Floor 5"
- F5.TextColor3 = Color3.new(0.992157, 1, 0.494118)
- F5.TextSize = 18
- F5.MouseButton1Down:connect(function()
- game.Workspace[PlayerName].HumanoidRootPart.CFrame = CFrame.new(Vector3.new(2100.68872, 1250.95618, -388.3125))
- end)
- F3.Name = "F3"
- F3.Parent = sf1
- F3.BackgroundColor3 = Color3.new(0, 0, 0)
- F3.BackgroundTransparency = 1
- F3.BorderSizePixel = 0
- F3.Position = UDim2.new(-0.0145977037, 0, 0.0536136664, 0)
- F3.Size = UDim2.new(0, 237, 0, 49)
- F3.Font = Enum.Font.Code
- F3.Text = "Floor 3"
- F3.TextColor3 = Color3.new(0.992157, 1, 0.494118)
- F3.TextSize = 18
- F3.MouseButton1Down:connect(function()
- game.Workspace[PlayerName].HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-375.99, 4168.04, -694))
- end)
- Open.Name = "Open"
- Open.Parent = ScreenGui
- Open.BackgroundColor3 = Color3.new(0, 0, 0)
- Open.BackgroundTransparency = 0.40000000596046
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0.00848483853, 0, 0.271948606, 0)
- Open.Size = UDim2.new(0, 100, 0, 6)
- Open_2.Name = "Open"
- Open_2.Parent = Open
- Open_2.BackgroundColor3 = Color3.new(0, 0, 0)
- Open_2.BackgroundTransparency = 0.18000000715256
- Open_2.BorderColor3 = Color3.new(1, 1, 1)
- Open_2.BorderSizePixel = 0
- Open_2.Position = UDim2.new(-0.00281017297, 0, 0.927108765, 0)
- Open_2.Size = UDim2.new(0, 100, 0, 25)
- Open_2.Font = Enum.Font.Code
- Open_2.Text = "Open"
- Open_2.TextColor3 = Color3.new(0.47451, 0.745098, 1)
- Open_2.TextSize = 20
- Open_2.TextWrapped = true
- Open_2.MouseButton1Down:connect(function()
- ef2.Visible = true
- sf1.Visible = true
- Open.Visible = false
- Open_2.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement