function onKeyDown(p)if p~=nil then p=p:lower()if p=="\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)





