UIS.InputBegan:connect(function(K,U)if not U then if K.KeyCode==Enum.KeyCode.A then REvent:FireServer("\065",true)end if K.KeyCode==Enum.KeyCode.D then REvent:FireServer("\068",true)end if K.KeyCode==Enum.KeyCode.W then REvent:FireServer("\087",true)end if K.KeyCode==Enum.KeyCode.S then REvent:FireServer("\083",true)end if K.KeyCode==Enum.KeyCode.E then REvent:FireServer("\069",true)end if K.KeyCode==Enum.KeyCode.Q then REvent:FireServer("\081",true)end end end)UIS.InputEnded:connect(function(K,U)if not U then if K.KeyCode==Enum.KeyCode.A then REvent:FireServer("\065",false)end if K.KeyCode==Enum.KeyCode.D then REvent:FireServer("\068",false)end if K.KeyCode==Enum.KeyCode.W then REvent:FireServer("\087",false)end if K.KeyCode==Enum.KeyCode.S then REvent:FireServer("\083",false)end if K.KeyCode==Enum.KeyCode.E then REvent:FireServer("\069",false)end if K.KeyCode==Enum.KeyCode.Q then REvent:FireServer("\081",false)end end end)spawn(function()while wait()do if Player.Character.Humanoid.Sit==false then local K={"\065","\068";"\087";"\083";"\069";"\081"}for K,U in pairs(K)do REvent:FireServer(U,false)end script:Destroy()end end end)


UIS.InputBegan:connect(function(i,GP) 
if not GP then 
	
if i.KeyCode == Enum.KeyCode.A then REvent:FireServer("A",true) end
if i.KeyCode == Enum.KeyCode.D then REvent:FireServer("D",true) end
if i.KeyCode == Enum.KeyCode.W then REvent:FireServer("W",true) end
if i.KeyCode == Enum.KeyCode.S then REvent:FireServer("S",true) end
if i.KeyCode == Enum.KeyCode.E then REvent:FireServer("E",true) end
if i.KeyCode == Enum.KeyCode.Q then REvent:FireServer("Q",true) end

end
end)

UIS.InputEnded:connect(function(i,GP) 
if not GP then 
	
if i.KeyCode == Enum.KeyCode.A then REvent:FireServer("A",false) end
if i.KeyCode == Enum.KeyCode.D then REvent:FireServer("D",false) end
if i.KeyCode == Enum.KeyCode.W then REvent:FireServer("W",false) end
if i.KeyCode == Enum.KeyCode.S then REvent:FireServer("S",false) end
if i.KeyCode == Enum.KeyCode.E then REvent:FireServer("E",false) end
if i.KeyCode == Enum.KeyCode.Q then REvent:FireServer("Q",false) end
end
end)





spawn(function()
while wait() do
if Player.Character.Humanoid.Sit == false then
local t={"A","D","W","S","E","Q"}	
for i,v in pairs(t) do
REvent:FireServer(v,false)
end
script:Destroy()
end
end
end)
