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 G=script.Parent:WaitForChild("\082\101\109\111\116\101\069\118\101\110\116")function onEquipped(t)equipped=true if t~=nil then t.Button1Down:connect(function()if db then G:FireServer(t.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)
--Made by Stickmasterluke

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)
