------


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)
