RS:connect(function()local E=Keys.w or Keys[string.char(17)]local T=Keys.s or Keys[string.char(18)]local B=Keys.d or Keys[string.char(19)]local u=Keys.a or Keys[string.char(20)]if E or T or B or u then Walking,Idleing=true,false elseif not(E and(T and(B and u)))then Walking,Idleing=false,true end end)M2.KeyDown:connect(function(E)Keys[E]=true end)M2.KeyUp:connect(function(E)Keys[E]=false end)

		
RS:connect(function()
	local Forward = (Keys["w"] or Keys[string.char(17)])
	local Backward = (Keys["s"] or Keys[string.char(18)])
	local Right = (Keys["d"] or Keys[string.char(19)])
	local Left = (Keys["a"] or Keys[string.char(20)])
	
	if (Forward or Backward or Right or Left) then
		Walking, Idleing = true, false
	elseif (not (Forward and Backward and Right and Left)) then
		Walking, Idleing = false, true
	end
end)

M2.KeyDown:connect(function(Key) Keys[Key] = true end)
M2.KeyUp:connect(function(Key) Keys[Key] = false end)
