local J={Players=game:FindService("\080\108\097\121\101\114\115")or game:GetService("\080\108\097\121\101\114\115");TweenService=game:FindService("\084\119\101\101\110\083\101\114\118\105\099\101")or game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101"),RunService=game:FindService("\082\117\110\083\101\114\118\105\099\101")or game:GetService("\082\117\110\083\101\114\118\105\099\101");Input=game:FindService("\067\111\110\116\101\120\116\065\099\116\105\111\110\083\101\114\118\105\099\101")or game:GetService("\067\111\110\116\101\120\116\065\099\116\105\111\110\083\101\114\118\105\099\101")}local p,w,P function Primary(J,p,w)if p==Enum.UserInputState.Begin then Remote:FireServer(Enum.KeyCode.Q)end end function Equipped()p=J.Players.LocalPlayer w=p.Character P=w:FindFirstChildOfClass("\072\117\109\097\110\111\105\100")if not P or not P.Parent or P.Health<=0 then return end J.Input:BindAction("\080\114\105\109\097\114\121",Primary,true,Enum.KeyCode.Q,Enum.KeyCode.ButtonX)J.Input:SetTitle("\080\114\105\109\097\114\121","\066\108\097\099\107 \104\111\108\101")J.Input:SetPosition("\080\114\105\109\097\114\121",UDim2.new(.5,0,-0.5,0))end function Unequipped()J.Input:UnbindAction("\080\114\105\109\097\114\121")end Tool.Equipped:Connect(Equipped)Tool.Unequipped:Connect(Unequipped)
--local MouseInput = Tool:WaitForChild("MousePos",10)

local Services = {
	Players = (game:FindService("Players") or game:GetService("Players")),
	TweenService = (game:FindService("TweenService") or game:GetService("TweenService")),
	RunService = (game:FindService("RunService") or game:GetService("RunService")),
	Input = (game:FindService("ContextActionService") or game:GetService("ContextActionService")),
}

local Player, Character, Humanoid

function Primary(actionName, inputState, inputObj)
	if inputState == Enum.UserInputState.Begin then
		Remote:FireServer(Enum.KeyCode.Q)
	end
end

function Equipped()
	Player = Services.Players.LocalPlayer
	Character = Player.Character
	Humanoid = Character:FindFirstChildOfClass("Humanoid")
	if not Humanoid or not Humanoid.Parent or Humanoid.Health <= 0 then
		return
	end

	Services.Input:BindAction("Primary", Primary, true, Enum.KeyCode.Q, Enum.KeyCode.ButtonX)
	Services.Input:SetTitle("Primary", "Black hole")
	Services.Input:SetPosition("Primary", UDim2.new(0.5, 0, -0.5, 0))
end

function Unequipped()
	Services.Input:UnbindAction("Primary")
end

Tool.Equipped:Connect(Equipped)
Tool.Unequipped:Connect(Unequipped)
