sp=script.Parent db=true firerate=22 power=50 rate=.033333333333333 debris=game:GetService("\068\101\098\114\105\115")equipped=false check=true local b=script.Parent:WaitForChild("\082\101\109\111\116\101\069\118\101\110\116")function onEquipped(r)equipped=true if r~=nil then r.Button1Down:connect(function()if db then b:FireServer(r.Hit,check)db=false wait(firerate)db=true end end)end end function onUnequipped()equipped=false sp.Handle.Transparency=1 end sp.Equipped:connect(onEquipped)sp.Unequipped:connect(onUnequipped)



sp=script.Parent

db=true

firerate=22
power=50
rate=1/30

debris=game:GetService("Debris")
equipped=false
check=true

local event = script.Parent:WaitForChild("RemoteEvent")


function onEquipped(mouse)
	equipped=true
	if mouse~=nil then
		mouse.Button1Down:connect(function()
			if db then
			event:FireServer(mouse.Hit,check)
			db=false			
			wait(firerate)
			db=true			
			end
		end)
	end
end

function onUnequipped()
	equipped=false
	sp.Handle.Transparency=1
end

sp.Equipped:connect(onEquipped)
sp.Unequipped:connect(onUnequipped)





