function onKeyDown(J)if J~=nil then J=J:lower()if J=="\101"then if Holstered==true then script.Parent.Parent.Humanoid.WalkSpeed=16 GunUp()elseif Holstered==false then script.Parent.Parent.Humanoid.WalkSpeed=20 GunDown()end end end end Tool.Equipped:connect(onEquippedLocal)
-----------------------------------------------------------------------------------------------------------------
function onKeyDown(key)
	if key ~= nil then
		key = key:lower()

		if key == "e" then -- Toggle Patrol
			if Holstered == true then
				script.Parent.Parent.Humanoid.WalkSpeed = 16
				GunUp()
			elseif Holstered == false then
				script.Parent.Parent.Humanoid.WalkSpeed = 20
				GunDown()
			end
		end
	end
end
Tool.Equipped:connect(onEquippedLocal)
