Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Diego senpai was here
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local Swordhacks = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- local TextButton_5 = Instance.new("TextButton")
- local TextButton_6 = Instance.new("TextButton")
- local TextButton_7 = Instance.new("TextButton")
- local TextButton_8 = Instance.new("TextButton")
- local TextButton_9 = Instance.new("TextButton")
- local TextButton_10 = Instance.new("TextButton")
- local TextButton_11 = Instance.new("TextButton")
- local TextButton_12 = Instance.new("TextButton")
- local TextButton_13 = Instance.new("TextButton")
- local TextButton_14 = Instance.new("TextButton")
- --Properties:
- Swordhacks.Name = "Swordhacks!"
- Swordhacks.Parent = game.CoreGui
- Frame.Parent = Swordhacks
- Frame.BackgroundColor3 = Color3.new(0.00392157, 0.00392157, 0.00392157)
- Frame.BackgroundTransparency = 0.30000001192093
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.383318394, 0, 0.0803571567, 0)
- Frame.Size = UDim2.new(0, 400, 0, 432)
- Frame.Active = true
- Frame.Draggable = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.BackgroundTransparency = 0.40000000596046
- TextButton.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton.BorderSizePixel = 2
- TextButton.Position = UDim2.new(0.015369568, 0, 0.134887412, 0)
- TextButton.Size = UDim2.new(0, 188, 0, 31)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Auto Farm"
- TextButton.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.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)
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_2.BackgroundTransparency = 0.40000000596046
- TextButton_2.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_2.BorderSizePixel = 2
- TextButton_2.Position = UDim2.new(0.522869527, 0, 0.134887412, 0)
- TextButton_2.Size = UDim2.new(0, 184, 0, 31)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "INF STAMINA"
- TextButton_2.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 14
- TextButton_2.TextWrapped = true
- TextButton_2.MouseButton1Down:connect(function()
- local client = game:GetService("Players").LocalPlayer
- while wait() do
- if client.Character then
- client.Character:WaitForChild("Entity").Stamina.Value = 100
- end
- end
- end)
- TextButton_3.Parent = Frame
- TextButton_3.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_3.BackgroundTransparency = 0.40000000596046
- TextButton_3.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_3.BorderSizePixel = 2
- TextButton_3.Position = UDim2.new(0.0203695334, 0, 0.588591099, 0)
- TextButton_3.Size = UDim2.new(0, 184, 0, 31)
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.Text = "Knight Dungeon"
- TextButton_3.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_3.TextScaled = true
- TextButton_3.TextSize = 14
- TextButton_3.TextWrapped = true
- TextButton_3.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-3052.86646, -237.516937, 1984.0238))
- end)
- TextButton_4.Parent = Frame
- TextButton_4.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_4.BackgroundTransparency = 0.15000000596046
- TextButton_4.BorderColor3 = Color3.new(1, 0, 0)
- TextButton_4.Position = UDim2.new(0, 0, 0.469907403, 0)
- TextButton_4.Size = UDim2.new(0, 400, 0, 29)
- TextButton_4.Font = Enum.Font.SourceSans
- TextButton_4.Text = "Tp's"
- TextButton_4.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_4.TextScaled = true
- TextButton_4.TextSize = 14
- TextButton_4.TextWrapped = true
- TextButton_5.Parent = Frame
- TextButton_5.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_5.BackgroundTransparency = 0.40000000596046
- TextButton_5.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_5.BorderSizePixel = 2
- TextButton_5.Position = UDim2.new(0.522869527, 0, 0.588591099, 0)
- TextButton_5.Size = UDim2.new(0, 184, 0, 31)
- TextButton_5.Font = Enum.Font.SourceSans
- TextButton_5.Text = "Boss Room 1"
- TextButton_5.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_5.TextScaled = true
- TextButton_5.TextSize = 14
- TextButton_5.TextWrapped = true
- TextButton_5.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-3059.16, -225, 1126.32))
- end)
- TextButton_6.Parent = Frame
- TextButton_6.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_6.BackgroundTransparency = 0.40000000596046
- TextButton_6.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_6.BorderSizePixel = 2
- TextButton_6.Position = UDim2.new(0.522869527, 0, 0.688128114, 0)
- TextButton_6.Size = UDim2.new(0, 184, 0, 31)
- TextButton_6.Font = Enum.Font.SourceSans
- TextButton_6.Text = "Crab Spawn"
- TextButton_6.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_6.TextScaled = true
- TextButton_6.TextSize = 14
- TextButton_6.TextWrapped = true
- TextButton_6.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(356.213531, 43.1817932, -1149.39258))
- end)
- TextButton_7.Parent = Frame
- TextButton_7.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_7.BackgroundTransparency = 0.40000000596046
- TextButton_7.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_7.BorderSizePixel = 2
- TextButton_7.Position = UDim2.new(0.025369525, 0, 0.688128114, 0)
- TextButton_7.Size = UDim2.new(0, 184, 0, 31)
- TextButton_7.Font = Enum.Font.SourceSans
- TextButton_7.Text = "Dire Spawn"
- TextButton_7.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_7.TextScaled = true
- TextButton_7.TextSize = 14
- TextButton_7.TextWrapped = true
- TextButton_7.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(219.48172, 55.8494263, 1018.37836))
- end)
- TextButton_8.Parent = Frame
- TextButton_8.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_8.BackgroundTransparency = 0.40000000596046
- TextButton_8.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_8.BorderSizePixel = 2
- TextButton_8.Position = UDim2.new(0.025369525, 0, 0.783035517, 0)
- TextButton_8.Size = UDim2.new(0, 184, 0, 31)
- TextButton_8.Font = Enum.Font.SourceSans
- TextButton_8.Text = "Mini Boss"
- TextButton_8.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_8.TextScaled = true
- TextButton_8.TextSize = 14
- TextButton_8.TextWrapped = true
- TextButton_8.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(250, 50, 1025) + Vector3.new(1,0,0)
- end)
- TextButton_9.Parent = Frame
- TextButton_9.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_9.BackgroundTransparency = 0.40000000596046
- TextButton_9.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_9.BorderSizePixel = 2
- TextButton_9.Position = UDim2.new(0.267869532, 0, 0.894146681, 0)
- TextButton_9.Size = UDim2.new(0, 184, 0, 31)
- TextButton_9.Font = Enum.Font.SourceSans
- TextButton_9.Text = "Auto Farm Cant Leave Tab"
- TextButton_9.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_9.TextScaled = true
- TextButton_9.TextSize = 14
- TextButton_9.TextWrapped = true
- TextButton_10.Parent = Frame
- TextButton_10.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_10.BackgroundTransparency = 0.40000000596046
- TextButton_10.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_10.BorderSizePixel = 2
- TextButton_10.Position = UDim2.new(0.180369571, 0, 0.0145170419, 0)
- TextButton_10.Size = UDim2.new(0, 242, 0, 31)
- TextButton_10.Font = Enum.Font.SourceSans
- TextButton_10.Text = "Roblox Pain"
- TextButton_10.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_10.TextScaled = true
- TextButton_10.TextSize = 14
- TextButton_10.TextWrapped = true
- TextButton_11.Parent = Frame
- TextButton_11.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_11.BackgroundTransparency = 0.40000000596046
- TextButton_11.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_11.BorderSizePixel = 2
- TextButton_11.Position = UDim2.new(0.0203695688, 0, 0.250628173, 0)
- TextButton_11.Size = UDim2.new(0, 188, 0, 31)
- TextButton_11.Font = Enum.Font.SourceSans
- TextButton_11.Text = "Max Speed"
- TextButton_11.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_11.TextScaled = true
- TextButton_11.TextSize = 14
- TextButton_11.TextWrapped = true
- TextButton_11.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 65
- end)
- TextButton_12.Parent = Frame
- TextButton_12.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_12.BackgroundTransparency = 0.40000000596046
- TextButton_12.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_12.BorderSizePixel = 2
- TextButton_12.Position = UDim2.new(0.522869587, 0, 0.250628173, 0)
- TextButton_12.Size = UDim2.new(0, 188, 0, 31)
- TextButton_12.Font = Enum.Font.SourceSans
- TextButton_12.Text = "Crystal"
- TextButton_12.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_12.TextScaled = true
- TextButton_12.TextSize = 14
- TextButton_12.TextWrapped = true
- TextButton_12.MouseButton1Down:connect(function()
- game.Workspace[PlayerName].HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-817.8, -98.17, 602.55))
- end)
- TextButton_13.Parent = Frame
- TextButton_13.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_13.BackgroundTransparency = 0.40000000596046
- TextButton_13.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_13.BorderSizePixel = 2
- TextButton_13.Position = UDim2.new(0.522869527, 0, 0.783035517, 0)
- TextButton_13.Size = UDim2.new(0, 184, 0, 31)
- TextButton_13.Font = Enum.Font.SourceSans
- TextButton_13.Text = "Random Mob"
- TextButton_13.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_13.TextScaled = true
- TextButton_13.TextSize = 14
- TextButton_13.TextWrapped = true
- TextButton_13.MouseButton1Down:connect(function()
- local model = game.Workspace.Mobs
- local mobs = model:GetChildren()
- for i =1, #mobs do
- local themob = mobs[math.random(#mobs)]
- if themob:findFirstChild("Torso") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(themob.Torso.Position)
- end
- end
- end)
- TextButton_14.Parent = Frame
- TextButton_14.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_14.BackgroundTransparency = 0.40000000596046
- TextButton_14.BorderColor3 = Color3.new(0.666667, 0, 0)
- TextButton_14.BorderSizePixel = 2
- TextButton_14.Position = UDim2.new(0.282869577, 0, 0.36636892, 0)
- TextButton_14.Size = UDim2.new(0, 188, 0, 31)
- TextButton_14.Font = Enum.Font.SourceSans
- TextButton_14.Text = "High Jump"
- TextButton_14.TextColor3 = Color3.new(0.666667, 0, 0)
- TextButton_14.TextScaled = true
- TextButton_14.TextSize = 14
- TextButton_14.TextWrapped = true
- TextButton_14.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
- end)
- -- Scripts:
Add Comment
Please, Sign In to add comment