-- Input begin

userInputService.InputBegan:connect(function(inputObject, gameProcessedEvent)
	if not gameProcessedEvent then
		if inputObject.KeyCode == Enum.KeyCode.W then
			movement = Vector2.new(movement.X, 1)
		elseif inputObject.KeyCode == Enum.KeyCode.A then
			movement = Vector2.new(-1, movement.Y)
		elseif inputObject.KeyCode == Enum.KeyCode.S then
			movement = Vector2.new(movement.X, -1)
		elseif inputObject.KeyCode == Enum.KeyCode.D then
			movement = Vector2.new(1, movement.Y)
		end
	end
end)
