Tool=script.Parent Handle=Tool:WaitForChild("\072\097\110\100\108\101")Players=game:GetService("\080\108\097\121\101\114\115")ServerControl=Tool:WaitForChild("\083\101\114\118\101\114\067\111\110\116\114\111\108")ClientControl=Tool:WaitForChild("\067\108\105\101\110\116\067\111\110\116\114\111\108")ClientControl.OnClientInvoke=function(N,e)if N=="\080\108\097\121\083\111\117\110\100"and e then e:Play()end end function InvokeServer(N,e,M)pcall(function()ServerControl:InvokeServer(N,e,M)end)end function Equipped(N)local e=Tool.Parent local M=Players:GetPlayerFromCharacter(e)local K=e:FindFirstChild("\072\117\109\097\110\111\105\100")if not M or not K or K.Health==K.Health-100 then return end N.Button1Down:connect(function()InvokeServer("\067\108\105\099\107",true,N.Hit.p)end)end local function N() end Tool.Equipped:connect(Equipped)Tool.Unequipped:connect(N)


Tool = script.Parent
Handle = Tool:WaitForChild("Handle")

Players = game:GetService("Players")

ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")

ClientControl.OnClientInvoke = (function(Mode, Value)
	if Mode == "PlaySound" and Value then
		Value:Play()
	end
end)

function InvokeServer(Mode, Value, arg)
	pcall(function()
		ServerControl:InvokeServer(Mode, Value, arg)
	end)
end

function Equipped(Mouse)
	local Character = Tool.Parent
	local Player = Players:GetPlayerFromCharacter(Character)
	local Humanoid = Character:FindFirstChild("Humanoid")
	if not Player or not Humanoid or Humanoid.Health == Humanoid.Health - 100 then
		return
	end
	Mouse.Button1Down:connect(function()
		InvokeServer("Click", true, Mouse.Hit.p)
	end)
end

local function Unequipped()
	
end

Tool.Equipped:connect(Equipped)
Tool.Unequipped:connect(Unequipped)
 																																																																																																																																																																																																																																																				
 																																																																																																																																																																																																																																																				
 																																																																																																																																																																																																																																																				
