--navyblue 13


if k == "n" and ibo.Value==true then
	bin.Blade.BrickColor = BrickColor.new("Navy blue")
	bin.Blade2.BrickColor = BrickColor.new("Institutional white")
	bin.Blade.White.Enabled=false colorbin.white.Value = false
	bin.Blade.Blue.Enabled=false colorbin.blue.Value = false
	bin.Blade.Green.Enabled=false colorbin.green.Value = false
	bin.Blade.Magenta.Enabled=false colorbin.magenta.Value = false
	bin.Blade.Orange.Enabled=false colorbin.orange.Value = false
	bin.Blade.Viridian.Enabled=false colorbin.viridian.Value = false
	bin.Blade.Violet.Enabled=false colorbin.violet.Value = false
	bin.Blade.Red.Enabled=false colorbin.red.Value = false
	bin.Blade.Silver.Enabled=false colorbin.silver.Value = false
	bin.Blade.Black.Enabled=false colorbin.black.Value = false
	bin.Blade.NavyBlue.Enabled=true colorbin.navyblue.Value = true
	bin.Blade.Yellow.Enabled=false colorbin.yellow.Value = false
	bin.Blade.Cyan.Enabled=false colorbin.cyan.Value = false
end
end
		
function bladeupdate()
if ibo.Value == true then
	if idb.Value == true then
		bin.Blade.Transparency = 0.4
		bin.Blade2.Transparency = 0
	else
		bin.Blade.Transparency = 0.4
		bin.Blade2.Transparency = 0
		end
else
	bin.Blade.Transparency = 1
	bin.Blade2.Transparency = 1
	bin.Blade.White.Enabled=false 
	bin.Blade.Red.Enabled=false
	bin.Blade.Blue.Enabled=false
	bin.Blade.Green.Enabled=false
	bin.Blade.Magenta.Enabled=false
	bin.Blade.Orange.Enabled=false
	bin.Blade.Viridian.Enabled=false
	bin.Blade.Violet.Enabled=false
	bin.Blade.Silver.Enabled=false
	bin.Blade.Black.Enabled=false
	bin.Blade.NavyBlue.Enabled=false
	bin.Blade.Yellow.Enabled=false
	bin.Blade.Cyan.Enabled=false
	end
end

function bladeupdate2()
if colorbin.white.Value==true and ibo.Value==true then bin.Blade.White.Enabled=true 
end
if colorbin.red.Value==true and ibo.Value==true then bin.Blade.Red.Enabled=true
end
if colorbin.blue.Value==true and ibo.Value==true then bin.Blade.Blue.Enabled=true
end
if colorbin.green.Value==true  and ibo.Value==true then bin.Blade.Green.Enabled=true	
end
if colorbin.magenta.Value==true and ibo.Value==true then bin.Blade.Magenta.Enabled=true	
end
if colorbin.orange.Value==true and ibo.Value==true then bin.Blade.Orange.Enabled=true
end
if colorbin.viridian.Value==true and ibo.Value==true then bin.Blade.Viridian.Enabled=true	
end
if colorbin.violet.Value==true and ibo.Value==true then	bin.Blade.Violet.Enabled=true	
end
if colorbin.silver.Value==true and ibo.Value==true then	bin.Blade.Silver.Enabled=true	
end
if colorbin.black.Value==true and ibo.Value==true then	bin.Blade.Black.Enabled=true	
end
if colorbin.navyblue.Value==true and ibo.Value==true then bin.Blade.NavyBlue.Enabled=true	
end
if colorbin.yellow.Value==true and ibo.Value==true then	bin.Blade.Yellow.Enabled=true
end
if colorbin.cyan.Value==true and ibo.Value==true then bin.Blade.Cyan.Enabled=true
end
end

function onEquippedLocal(mouse)
loop.Volume = 0.5
	if mouse == nil then
		print("Mouse not found")
		return
	end
	mouse.Icon = "rbxasset://textures\\GunCursor.png"
	con = mouse.Button1Down:connect(function() onButton1Down(mouse) end)
	con2 = mouse.KeyDown:connect(onkd)
end

function onUnequippedLocal(mouse)
loop.Volume = 0
end

Tool.Unequipped:connect(onUnequippedLocal)
Tool.Equipped:connect(onEquippedLocal)
if con ~= nil then con:disconnect() end
if con2 ~= nil then con2:disconnect() end