GGTH-2
repeat task.wait() until game:IsLoaded() local Client = game.Players local LocalPlayer = Client.LocalPlayer repeat wait() until LocalPlayer.Character local Char = LocalPlayer.Character local Root = Char.HumanoidRootPart local Humanoid = Char.Humanoid LocalPlayer.CharacterAdded:Connect(function(v) Char = v Humanoid = Char:WaitForChild("Humanoid") Root = Char:WaitForChild("HumanoidRootPart") end) local ReplicatedStorage = game:GetService("ReplicatedStorage") local VirtualInputManager = game:GetService("VirtualInputManager") local Player3CHandle = require(ReplicatedStorage.Client.System.API.Player3CHandle) -- Create On-Screen Log GUI local logText = nil pcall(function() local GuiParent = game:GetService("CoreGui") pcall(function() if GuiParent:FindFirstChild("AutoFarmLogGui") then GuiParent.AutoFarmLogGui:Destroy() end end) local logGui = Instance.new("ScreenGui") logGui.Name = "AutoFarmLogGui" pcall(function() logGui.Parent = GuiParent end) if not logGui.Parent then logGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end logText = Instance.new("TextLabel") logText.Parent = logGui logText.BackgroundTransparency = 1 logText.Position = UDim2.new(0.5, -250, 0, 20) logText.Size = UDim2.new(0, 500, 0, 50) logText.Font = Enum.Font.GothamBold logText.TextSize = 22 logText.TextColor3 = Color3.fromRGB(0, 255, 128) logText.TextStrokeTransparency = 0.5 logText.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) logText.Text = "Status: Script Loaded" end) local ModuleService = {} ModuleService.__index = ModuleService function ModuleService.new() return setmetatable({ Events = {}, Config = {}, Thread = { ["Add"] = function(Value : any) return task.spawn(function() while task.wait() do pcall(Value) end end) :: thread end, ["Delete"] = task.cancel :: (thread) -> (), } :: any }, ModuleService) end function ModuleService:Load() local Instance_ = self :: typeof(ModuleService) Instance_.Events["EnemyService"] = function(Object : any) local folders = {} if workspace:FindFirstChild("EnemyService") then table.insert(folders, workspace.EnemyService) end if workspace:FindFirstChild("Enemies") then table.insert(folders, workspace.Enemies) end if workspace:FindFirstChild("Mobs") then table.insert(folders, workspace.Mobs) end if #folders == 0 then table.insert(folders, workspace) end for _, folder in pairs(folders) do for Index, Value in pairs(folder:GetChildren()) do if not Value:IsA("Model") or not table.find(Object, Value.Name) then continue end local Root_ = Value:FindFirstChild("HumanoidRootPart") :: BasePart? local Humanoid_ = Value:FindFirstChild("Humanoid") :: Humanoid? if Root_ and Humanoid_ then if Humanoid_.Health <= 0 then return nil end return Root_, Humanoid_ end end end return nil end Instance_.Events["Movement"] = function(Object : any) local Root_, Humanoid_ = Instance_.Events["EnemyService"](Object) if not Root_ or not Humanoid_ then return end local Remote = game.ReplicatedStorage:WaitForChild("Remote_Event") local TweenService = game:GetService("TweenService") local tween = nil repeat if not Instance_.Config["Enable Nearest"] and not Instance_.Config["Auto Level"] then Player3CHandle.StopAutoSkill() break end Player3CHandle.ToggleAutoMappedAction("Attack") VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Z, false, game) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Z, false, game) if Instance_.Config["Fast Kill / Fast Attack"] then for i = 1, 15 do Player3CHandle.ToggleAutoMappedAction("Attack") VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Z, false, game) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Z, false, game) VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.X, false, game) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.X, false, game) VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.C, false, game) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.C, false, game) end -- Attempt to set health to 0 (works if the game trusts the client) pcall(function() Humanoid_.Health = 0 end) end if logText and Root_ and Root_.Parent then logText.Text = "Attacking: " .. Root_.Parent.Name .. " | HP: " .. math.floor(Humanoid_.Health) end local targetCFrame = Root_.CFrame * CFrame.new(0, 8, 8) local dist = (Root.Position - targetCFrame.Position).Magnitude if dist > 20 then if tween then tween:Cancel() end local tweenInfo = TweenInfo.new(dist / 250, Enum.EasingStyle.Linear) tween = TweenService:Create(Root, tweenInfo, {CFrame = targetCFrame}) tween:Play() else if tween then tween:Cancel() tween = nil end Root.CFrame = targetCFrame end task.wait() until Humanoid_.Health <= 0 or not Root_ if tween then tween:Cancel() end end end local Instance_ = ModuleService.new() Instance_:Load() Instance_.Config["Position Island"] = "Midgard" :: any Instance_.Events["Auto Nearest"] = Instance_.Thread["Add"](function() local Value = Instance_.Config["Enable Nearest"] :: boolean local AutoLevel = Instance_.Config["Auto Level"] :: boolean if not Value and not AutoLevel then return end if AutoLevel then local playerLevel = 0 pcall(function() for _, v in pairs(game.Players.LocalPlayer:GetDescendants()) do if v.Name == "Level" and (v:IsA("IntValue") or v:IsA("NumberValue")) then playerLevel = v.Value break end end end) local bestEnemyName = nil local bestLevelDiff = math.huge local bestDist = math.huge local nearestEnemyName = nil local nearestDist = math.huge pcall(function() local folders = {} if workspace:FindFirstChild("EnemyService") then table.insert(folders, workspace.EnemyService) end if workspace:FindFirstChild("Enemies") then table.insert(folders, workspace.Enemies) end if workspace:FindFirstChild("Mobs") then table.insert(folders, workspace.Mobs) end if #folders == 0 then table.insert(folders, workspace) end for _, folder in pairs(folders) do for _, enemy in pairs(folder:GetChildren()) do if enemy:IsA("Model") and enemy:FindFirstChild("HumanoidRootPart") and enemy:FindFirstChild("Humanoid") and enemy.Humanoid.Health > 0 then local dist = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - enemy.HumanoidRootPart.Position).Magnitude if dist < nearestDist then nearestDist = dist nearestEnemyName = enemy.Name end local levelStr = string.match(enemy.Name, "%[Lv%.%s*(%d+)%]") or string.match(enemy.Name, "Lv%.%s*(%d+)") if levelStr then local enemyLevel = tonumber(levelStr) local diff = math.abs(playerLevel - enemyLevel) -- Pick the closest level, and if levels are same, pick the nearest one physically if diff < bestLevelDiff or (diff == bestLevelDiff and dist < bestDist) then bestLevelDiff = diff bestDist = dist bestEnemyName = enemy.Name end end end end end end) if not bestEnemyName then bestEnemyName = nearestEnemyName end if bestEnemyName then if logText then logText.Text = "Auto Level: [Lv." .. playerLevel .. "] Target: " .. bestEnemyName end Instance_.Events["Movement"]({bestEnemyName}) return else if logText then logText.Text = "Auto Level: [Lv." .. playerLevel .. "] Scanning for Mobs..." end end end if Instance_.Config["Position Island"] == "Midgard" then local Island = Vector3.new(871, 238, -2747) if (Root.Position - Island).Magnitude > 1000 then Root.CFrame = CFrame.new(Island) end Instance_.Events["Movement"]({ "[Lv.15000] Space Invader", }) return end if Instance_.Config["Position Island"] == "Origin Island" then if not _G.CachedOriginPos then _G.CachedOriginPos = Vector3.new(0, 100, 0) pcall(function() for _, v in pairs(workspace:GetDescendants()) do if v:IsA("SpawnLocation") then _G.CachedOriginPos = v.Position break end end end) end if (Root.Position - _G.CachedOriginPos).Magnitude > 1000 then Root.CFrame = CFrame.new(_G.CachedOriginPos) end local nearestEnemyName = nil local nearestDist = math.huge pcall(function() local folders = {} if workspace:FindFirstChild("EnemyService") then table.insert(folders, workspace.EnemyService) end if workspace:FindFirstChild("Enemies") then table.insert(folders, workspace.Enemies) end if workspace:FindFirstChild("Mobs") then table.insert(folders, workspace.Mobs) end if #folders == 0 then table.insert(folders, workspace) end for _, folder in pairs(folders) do for _, enemy in pairs(folder:GetChildren()) do if enemy:IsA("Model") and enemy:FindFirstChild("HumanoidRootPart") and enemy:FindFirstChild("Humanoid") and enemy.Humanoid.Health > 0 then local dist = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - enemy.HumanoidRootPart.Position).Magnitude if dist < nearestDist then nearestDist = dist nearestEnemyName = enemy.Name end end end end end) if nearestEnemyName then Instance_.Events["Movement"]({nearestEnemyName}) end return end if Instance_.Config["Position Island"] == "Jotunheim" then local Island = Vector3.new(-2668, 53, -2301) if (Root.Position - Island).Magnitude > 1000 then Root.CFrame = CFrame.new(Island) end Instance_.Events["Movement"]({ "[Lv.13000] Flame Soldier", "[Lv.13000] Thunder Soldier", "[Lv.13000] Wind Soldier", "[Lv.15000] Hraegon", "[Lv.15000] Surtrik", "[Lv.15000] Thorvak" }) return end end) :: thread Instance_.Events["Auto Item"] = Instance_.Thread["Add"](function() local AutoItem = Instance_.Config["Auto Item"] :: boolean if not AutoItem then return end pcall(function() for _, item in pairs(workspace:GetDescendants()) do if item:IsA("TouchTransmitter") then local parent = item.Parent if parent and parent:IsA("BasePart") then firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, parent, 0) firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, parent, 1) end elseif item:IsA("ProximityPrompt") then fireproximityprompt(item) end end end) task.wait(0.5) end) :: thread ------------------------------------------------------------------------------------------------------- local Fluent = {} :: any for Index, Value in pairs({ "https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua", "https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua", "https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua", } :: any) do Fluent[Index] = loadstring(game:HttpGet(Value))() end local Window = Fluent[1]:CreateWindow({ Title = "Broken Blade", SubTitle = "by DDShop", TabWidth = 160, Size = UDim2.fromOffset(480, 360), Acrylic = true, Theme = "Darker", Transparency = 0, MinimizeKey = Enum.KeyCode.LeftControl }) local Tabs = { Main = Window:AddTab({ Title = "Main", Icon = "" }), Settings = Window:AddTab({ Title = "Settings", Icon = "settings" }) } local Options = Fluent[1].Options do Tabs.Main:AddDropdown("Islands", { Title = "Position Island", Description = "Select the island you want to farm.", Values = { "Origin Island", "Midgard", "Jotunheim" }, Default = "Origin Island", Callback = function(Value) Instance_.Config["Position Island"] = Value end }) Tabs.Main:AddToggle("Nearest", { Title = "Enable Nearest", Description = "Enable autofarming.", Default = false, Callback = function(Value) Instance_.Config["Enable Nearest"] = Value end }) Tabs.Main:AddToggle("AutoItem", { Title = "Auto Item / Auto Collect", Description = "Automatically collects dropped items and chests.", Default = false, Callback = function(Value) Instance_.Config["Auto Item"] = Value end }) Tabs.Main:AddToggle("AutoLevel", { Title = "Auto Level (ทำไก่ตัน)", Description = "Automatically switches islands and farms based on your level.", Default = false, Callback = function(Value) Instance_.Config["Auto Level"] = Value end }) Tabs.Main:AddToggle("FastKill", { Title = "Fast Kill / Fast Attack", Description = "Spams attack and skills rapidly to kill bosses instantly.", Default = true, Callback = function(Value) Instance_.Config["Fast Kill / Fast Attack"] = Value end }) end Fluent[3]:SetLibrary(Fluent[1]) Fluent[2]:IgnoreThemeSettings() Fluent[2]:SetIgnoreIndexes({}) Fluent[3]:SetFolder("BrokenBlade") Fluent[2]:SetFolder("BrokenBlade/game") Fluent[3]:BuildInterfaceSection(Tabs.Settings) Fluent[2]:BuildConfigSection(Tabs.Settings) Window:SelectTab(1) Fluent:Notify({ Title = "Script", Content = "The script has been loaded.", Duration = 8 }) Fluent[2]:LoadAutoloadConfig()
A Touch Of Unseen (2014) ซับไทย
#ดูหนังฟรี #ดูหนัง #ดู หนัง ออนไลน์ hd #หนังชนโรง #ซูม

A Touch Of Unseen (2014) ซับไทย HD

GG-TH Channel

2 yปี
4,192 Views
Share Report 0 0
ประเภท:
ลักษณะ:
คุณต้องเข้าสู่ระบบเพื่อแสดงความคิดเห็นเกี่ยวกับวิดีโอ

ความคิดเห็น:

คิดเห็น
ต่อไป เล่นอัตโนมัติ