-- LocalScript: DomFling Hub (versão segura/local) -- Coloque no StarterPlayerScripts ou execute no seu executor. -- Só afeta objetos/NPCs criados localmente para teste. local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") -- Criar GUI principal local screenGui = Instance.new("ScreenGui") screenGui.Name = "DomFlingHub" screenGui.ResetOnSpawn = false screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 250, 0, 150) mainFrame.Position = UDim2.new(0.35, 0, 0.35, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundColor3 = Color3.fromRGB(30, 30, 30) title.BorderSizePixel = 0 title.Text = "DomFling Hub" title.Font = Enum.Font.GothamBold title.TextColor3 = Color3.new(1, 1, 1) title.TextSize = 18 title.Parent = mainFrame local playerBox = Instance.new("TextBox") playerBox.Size = UDim2.new(0.9, 0, 0, 30) playerBox.Position = UDim2.new(0.05, 0, 0.3, 0) playerBox.PlaceholderText = "Digite o nome do alvo" playerBox.Font = Enum.Font.Gotham playerBox.TextSize = 14 playerBox.TextColor3 = Color3.new(1, 1, 1) playerBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) playerBox.BorderSizePixel = 0 playerBox.Parent = mainFrame local flingBtn = Instance.new("TextButton") flingBtn.Size = UDim2.new(0.9, 0, 0, 35) flingBtn.Position = UDim2.new(0.05, 0, 0.6, 0) flingBtn.Text = "Fling Player" flingBtn.Font = Enum.Font.GothamBold flingBtn.TextSize = 16 flingBtn.TextColor3 = Color3.new(1, 1, 1) flingBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) flingBtn.BorderSizePixel = 0 flingBtn.Parent = mainFrame -- Função de noclip local local noclipConnection local function enableNoclip(character) if noclipConnection then noclipConnection:Disconnect() end noclipConnection = RunService.Stepped:Connect(function() for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end) end local function disableNoclip() if noclipConnection then noclipConnection:Disconnect() noclipConnection = nil end end -- Função de fling local (impulso físico) local function flingTarget(target) if target and target:FindFirstChild("HumanoidRootPart") then local hrp = target.HumanoidRootPart local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(0, 100, 0) -- impulso para cima bodyVelocity.MaxForce = Vector3.new(1e5, 1e5, 1e5) bodyVelocity.Parent = hrp game.Debris:AddItem(bodyVelocity, 0.2) end end -- Função de "morte" simulada local function killTarget(target) if target and target:FindFirstChild("Humanoid") then target.Humanoid.Health = 0 end end -- Ao clicar no botão flingBtn.MouseButton1Click:Connect(function() local targetName = playerBox.Text if targetName == "" then return end -- Apenas local: busca o próprio personagem ou NPC criado local target = nil if targetName:lower() == LocalPlayer.Name:lower() then target = LocalPlayer.Character else -- Procurar NPC local com esse nome for _, obj in ipairs(workspace:GetChildren()) do if obj.Name:lower() == targetName:lower() and obj:FindFirstChild("Humanoid") then target = obj break end end end if target then enableNoclip(target) flingTarget(target) wait(0.5) killTarget(target) disableNoclip() else warn("Alvo não encontrado localmente:", targetName) end end)